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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PIPE BETWEEN<br />

Syntax<br />

BETWEEN:<br />

BETWEEN<br />

► number<br />

INCL<br />

INCLFRST<br />

INCLLAST<br />

NOINCL<br />

pos.len NOT<br />

pos.len NOT<br />

/2nd string/<br />

/1st string/ ►<br />

Command Description<br />

The BETWEEN stage is a selection stage that divides a message stream into<br />

sections. The selected sections begin with a message containing a specified string<br />

and end with either a specified string or a number of messages.<br />

Streams<br />

The selected sections are passed to the primary output stream. The sections that<br />

were not selected are passed to the secondary output stream.<br />

Stream Type Number Supported<br />

Input 1<br />

Output 2<br />

Termination Conditions<br />

BETWEEN terminates when the input stream or both output streams disconnect.<br />

Operand Descriptions<br />

PIPE BETWEEN<br />

INCL<br />

Specifies that the message or messages that match the first string and, if<br />

specified, the second string is included in the output. A message that matches<br />

a count as a second condition is always included.<br />

INCLFRST<br />

Specifies that the message or messages that match the first string is included in<br />

the output. The second string, if specified, does not have its matching message<br />

included in the output. A message that matches a count as a second condition<br />

is always included.<br />

INCLLAST<br />

Specifies that the message or messages that match the second string is included<br />

in the output. The first string does not have its matching message included in<br />

the output. A message that matches a count as a second condition is always<br />

included.<br />

Chapter 2. Pipeline Stages and Syntax 29

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

Saved successfully!

Ooh no, something went wrong!