28.11.2012 Views

IBM Tivoli NetView for z/OS Programming: Pipes - IBM notice

IBM Tivoli NetView for z/OS Programming: Pipes - IBM notice

IBM Tivoli NetView for z/OS Programming: Pipes - IBM notice

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

PIPE MEMLIST<br />

(DSN)<br />

Specifies that the specification is <strong>for</strong> a data set name.<br />

dsndd<br />

The name of a DD or PDS. If an initial (DD) or (DSN) is not specified, the<br />

MEMLIST stage examines the specification. If the argument is a single 1- to<br />

8-character value without period delimiters or quotation marks, it is considered<br />

a DD. Otherwise, it is considered a DSN. The dsndd value can be specified on<br />

the stage, the input stream, or both.<br />

Return Codes<br />

If a secondary output stream is connected, each nonzero return code is sent as a<br />

signed 10-digit decimal number, and includes the name of the data set that caused<br />

the return code. For example, if XX does not exist, MEMLIST XX produces the<br />

following text: ’+0000000032 XX’.<br />

Return Code Meaning<br />

12 The user is not authorized to the data set.<br />

28 The data set is unavailable. It might be in use by another user or<br />

task.<br />

32 The data set does not exist.<br />

69 Input or operand is not valid.<br />

208 An RDJFCB error occurred. It might be a nonpartitioned DSORG.<br />

212 An unspecified OPEN error occurred.<br />

216 An unspecified READ error occurred.<br />

300 A system problem occurred.<br />

Examples<br />

164 <strong>Programming</strong>: <strong>Pipes</strong><br />

Example: Listing PDS Members<br />

The following example illustrates how to list the members of a partitioned data set:<br />

PIPE (END ;) a: MEML USER.INIT | CONS ONLY; a:| COLOR YEL | CONS<br />

Example: Listing Members of Multiple DDs<br />

The following example illustrates how to list members of multiple data definitions:<br />

PIPE LIT /DSIPARM DSIVTAM/ | SPLIT | MEML | CONS ONLY

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!