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.

DWO970I QSAM : GET FAILED WITH RETURN CODE 1006<br />

Message DWO050E is also logged.<br />

To avoid these problems, you can per<strong>for</strong>m one of the following steps:<br />

– Write a blank line to the data set be<strong>for</strong>e doing a read operation<br />

– Manage the data set with SMS<br />

– Start the <strong>NetView</strong> program under z/<strong>OS</strong> Version 1.11 or higher<br />

Return Codes<br />

The following return codes are returned by the QSAM stage, on the secondary<br />

output stream, as a signed, 10-digit decimal numbers:<br />

Examples<br />

Return Code Meaning<br />

0 QSAM completed successfully.<br />

4 APPEND failed on a PDS member.<br />

8 Error detected when attempting to access the data set. For<br />

example, a partitioned data set with no associated member name<br />

was requested.<br />

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

16 An open error occurred. Look <strong>for</strong> message IEC143I on your system<br />

console <strong>for</strong> more in<strong>for</strong>mation.<br />

20 An ABENDx13 occurred while trying to open the data set. See the<br />

system console <strong>for</strong> messages issued relating to this ABEND.<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 />

36 The <strong>NetView</strong> program does not support writing to this data set.<br />

For example, the data set might have been defined with<br />

RECFM(U).<br />

40 A record with an incorrect length was encountered while reading<br />

the contents of the data set.<br />

69 A syntax error was detected.<br />

100 An internal failure or abend occurred.<br />

Example: Reading from a Data Definition<br />

The following reads data from a data set specified by a data definition:<br />

PIPE QSAM (DD) allocddd<br />

| ...<br />

where allocddd is the 'FILE' value from the ALLOCATE command.<br />

Example: Reading from a Data Set Name<br />

The following reads data from a data set specified by a data set name:<br />

PIPE QSAM (DSN) hiqual.midqual.lowqual(member)<br />

| ...<br />

Note: If the DSN is not partitioned, omit '(member)'.<br />

PIPE QSAM<br />

Chapter 2. Pipeline Stages and Syntax 199

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

Saved successfully!

Ooh no, something went wrong!