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

PIPE DELDUPES<br />

Syntax<br />

Synonyms<br />

DELDUPES:<br />

DELDUPES<br />

PAD '00'X<br />

PAD 'xx'X<br />

/char/<br />

KEEPFIRST<br />

KEEPLAST<br />

ALL<br />

Stage Name Synonym<br />

DELDUPES DELDUP<br />

Stage Operands Synonym<br />

KEEPFIRST KEEP1ST<br />

'xx'X X'xx'<br />

▼<br />

1.*<br />

position.length<br />

Command Description<br />

DELDUPES compares the first line of consecutive messages and deletes duplicates.<br />

Only consecutive duplicates are deleted. The duplicate messages are written to the<br />

secondary output stream if the secondary stream is connected.<br />

Streams<br />

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

To delete duplicate lines within a message, use SEPARATE prior to DELDUPES.<br />

Stream Type Number Supported<br />

Input 1<br />

Output 2<br />

Termination Conditions<br />

DELDUPES terminates when the input stream or the output stream is<br />

disconnected.<br />

Operand Descriptions<br />

ALL<br />

Specifies that all duplicate messages are deleted from the primary output<br />

stream and are written to the secondary output stream if the secondary stream<br />

is connected.<br />

KEEPFIRST<br />

Specifies that the first message in a sequence of duplicated messages is written<br />

to the output stream.

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

Saved successfully!

Ooh no, something went wrong!