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

PIPE SPLIT<br />

Syntax<br />

SPLIT:<br />

Synonyms<br />

0 AT / /<br />

SPLIT ANYOF<br />

charcnt AFTER STRING /string/<br />

BEFORE<br />

Stage Name Synonym<br />

ANYOF ANY<br />

STRING STR<br />

Command Description<br />

SPLIT divides a line of text into multiple lines.<br />

Streams<br />

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

Note: SPLIT acts only on the first line of a multiline message. If all lines are to be<br />

split, use SEPARATE prior to SPLIT.<br />

Stream Type Number Supported<br />

Input 1<br />

Output 1<br />

Termination Conditions<br />

SPLIT terminates when either the input stream and output stream is disconnected.<br />

Operand Descriptions<br />

AFTER<br />

The input line is split just after the specified string or character. Nothing is<br />

deleted from the output. The point where the split occurs can be adjusted<br />

using charcnt.<br />

See also the BEFORE keyword.<br />

ANYOF<br />

Indicates that the /string/ is a list of characters. Any character contained in the<br />

list is a match.<br />

See also the STRING keyword.<br />

AT The line is split where the specified string or character is found. The matching<br />

string or character is deleted from the output.

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

Saved successfully!

Ooh no, something went wrong!