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

Syntax<br />

LOCATE:<br />

Synonyms<br />

LOCATE<br />

ALL<br />

FIRST<br />

LAST<br />

▼ /string/<br />

position.length BLANK<br />

NULL<br />

Stage Name Synonym<br />

LOCATE LOC<br />

Command Description<br />

The LOCATE stage selects messages that match a specified delimited character<br />

string to be passed to the primary output stream. Messages that do not contain the<br />

character string are passed to the secondary output stream, if connected.<br />

Streams<br />

LOCATE examines each input message <strong>for</strong> a match to the delimited string. A<br />

position and length pair can be supplied to limit the search to a particular column<br />

range.<br />

If the delimited string is longer than the length specified on the LOCATE stage, no<br />

matches occur, and no messages are passed to the primary output stream.<br />

Discarded messages are passed to the secondary output stream, if connected.<br />

If the input message is a multiline message, all message lines are examined <strong>for</strong> the<br />

string specified. The entire multiline message is selected and passed to the primary<br />

output stream when any line of the message text matches the string specification.<br />

A message is considered a match if any of the specified strings are located within<br />

it.<br />

Stream Type Number Supported<br />

Input 1<br />

Output 2<br />

PIPE LOCATE<br />

Termination Conditions<br />

LOCATE ends when the input stream or both output streams are disconnected.<br />

Chapter 2. Pipeline Stages and Syntax 155

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

Saved successfully!

Ooh no, something went wrong!