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

Syntax<br />

Synonyms<br />

SEPARATE:<br />

SEPARATE<br />

SEQUENCE<br />

DATA<br />

Stage Name Synonym<br />

SEPARATE SEP<br />

Command Description<br />

The SEPARATE stage trans<strong>for</strong>ms input multiline messages into multiple single-line<br />

messages. Input single-line messages are passed without being changed. Output<br />

single-line messages inherit all of the attributes of the input messages that created<br />

them.<br />

Streams<br />

The output of SEPARATE consists of single-line messages. Generally, the number<br />

of output messages is more than the number of input messages. When SEPARATE<br />

generates many single-line messages from an input multiline message, all of the<br />

output messages have the same message attributes as the message from which they<br />

are derived. For example, a 10-line message received from JOB STC00040 exactly at<br />

noon and passed through SEPARATE yields 10 distinct single-line messages, each<br />

with JOBNAME STC00040 and all apparently received at the same microsecond. If<br />

you later display these 10 messages with a CONSOLE stage and subsequently<br />

receive a DOM that would have matched the original multiline message, then that<br />

DOM matches all 10 of the separated messages.<br />

Stream Type Number Supported<br />

Input 1<br />

Output 2 (DATA)<br />

10 (SEQUENCE)<br />

Termination Conditions<br />

SEPARATE terminates when the input stream or all output streams disconnect.<br />

Operand Descriptions<br />

PIPE SEPARATE<br />

DATA<br />

Specifies that the lines labeled as data lines, or data-end lines, are passed to the<br />

primary output stream. All other lines are passed to the secondary output<br />

stream. If a secondary output stream is not defined, all lines which are neither<br />

data nor data-end lines are discarded.<br />

Chapter 2. Pipeline Stages and Syntax 211

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

Saved successfully!

Ooh no, something went wrong!