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 PIPEND<br />

Syntax<br />

PIPEND:<br />

Synonyms<br />

PIPEND<br />

*<br />

number<br />

Stage Name Synonym<br />

PIPEND PIPEEND<br />

Command Description<br />

The PIPEND stage causes a complex pipeline to end immediately when it receives<br />

the first message on its input data stream. PIPEND can be used to:<br />

Streams<br />

v End a pipeline which is too complex to be terminated by normal end-of-stream<br />

conditions.<br />

v End a pipeline and return a return code to the invoking program.<br />

Stream Type Number Supported<br />

Input 1<br />

Output N/A<br />

Termination Conditions<br />

PIPEND ends when it receives a message or when the input stream disconnects.<br />

Operand Descriptions<br />

PIPE PIPEND<br />

* Indicates that the data up to the first blank in the message is used to determine<br />

the return code <strong>for</strong> the pipeline. If this data is a number, it is returned as the<br />

return code from the PIPE command. If it is not a number, return code 100 is<br />

returned from the PIPE command.<br />

number<br />

Specifies the return code to be returned from the PIPE command.<br />

Number can be any number up to 2 31 −1.<br />

Usage Notes<br />

Return codes returned by the PIPE command are not to be used because of their<br />

predefined meaning to the <strong>NetView</strong> program. These return codes are shown in<br />

“PIPE (NCCF) ” on page 20.<br />

Note: For <strong>NetView</strong> use only: use of these return codes can yield unpredictable<br />

results.<br />

Chapter 2. Pipeline Stages and Syntax 185

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

Saved successfully!

Ooh no, something went wrong!