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

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

Input Orders<br />

These orders define the source of data that is processed by the conversion<br />

and output orders of the edit phrase. Examples of input orders include:<br />

v Literal data<br />

v Message attributes<br />

v Line attributes<br />

v All or part of the message data<br />

Conversion Orders<br />

These orders define how the data is to be manipulated. Conversion orders<br />

are optional. Examples of conversion orders include:<br />

v Data conversion, such as from binary to character<br />

v Date/time conversion<br />

v Selecting a subset of the data<br />

Output Orders<br />

These orders define how the resulting data is to be placed in the output<br />

line and subsequently on the output data stream.<br />

Together, global orders and edit phrases define an edit script. An edit script can be<br />

simple with one edit phrase, or a complex message processing program with<br />

hundreds of global orders and edit phrases. For an example of complex edit<br />

processing, see sample CNME2011 (SESMGET). To begin with simple examples, see<br />

“Example: Selecting a Word” on page 119 and “Example: Creating a Command” on<br />

page 119.<br />

Table 3. Global Order Summary<br />

Global Order Task Per<strong>for</strong>med Page<br />

CBETEMP Used to read in a Common Base Event template. 93<br />

CONSZERO Sets the 4-byte console ID to zero. 94<br />

COPY Copies one or more unread lines in a multiline message<br />

from input to output. The order of output is in<br />

ascending order.<br />

94<br />

COPYREST Copies all unread lines in a multiline message from<br />

input to output.<br />

COPYREV Copies one or more lines in a multiline message from<br />

input to output. The order of output is in descending<br />

order.<br />

FINDLINE n Changes the current line to the absolute line number<br />

indicated by the argument.<br />

FINDLINE string Advances the current line to the line containing the<br />

specified target string, which then becomes the target<br />

string.<br />

FWDLINE n Moves the current line <strong>for</strong>ward by the number<br />

specified.<br />

95<br />

LASTLINE Resets the input to the last line of a multiline message. 95<br />

NAMEBIND Creates a name/value pair that is recognized by the<br />

alert and message adapters.<br />

95<br />

NOEXP<strong>OS</strong>E Sets the IFRAUNEX automation flag. 96<br />

NOTECHO Turns off the echo flag (WQEMCSM) in the message<br />

that is logged or automated. NOTECHO does not affect<br />

the display.<br />

96<br />

ONTO Redefines the logical end of the input line. 96<br />

94<br />

94<br />

94<br />

95

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

Saved successfully!

Ooh no, something went wrong!