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

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

example, you issue MVS D A,L in your pipeline and want to retrieve only the<br />

time data and number of TS users from the resulting output.<br />

The output from MVS D A,L is similar to the following output:<br />

IEE114I 11.44.14 96.141 ACTIVITY 444<br />

JOBS M/S TS USER SYSAS INITS ACTIVE/MAX VTAM OAS<br />

00000 00006 00001 00016 00002 00001/00300 00000<br />

.<br />

.<br />

.<br />

The following edit script builds a line containing the time data contained in the<br />

first line and the number of TS users from the third line:<br />

WORD 2 1<br />

READLINE<br />

READLINE<br />

WORD 3 NEXTWORD<br />

The output from this edit script is 11.44.14 00001.<br />

If required, READLINE per<strong>for</strong>ms a RESET.<br />

Executing READLINE more times that the number of lines in the input<br />

message is not an error. If READLINE attempts to retrieve lines beyond the<br />

end of the message, a null line is passed to the input order.<br />

READSRC (global order)<br />

READSRC is used to switch the primary input to the original message or msu<br />

on the EDIT stage's input stream. This order is used in conjunction with<br />

READCBE to switch input sources. Using the two orders, EDIT phrases can be<br />

constructed to output part of a template, switch to the input message to fill in<br />

data such as message text, and then switched back to the CBETEMP input to<br />

construct the rest of the output.<br />

RESET (global order)<br />

Cancels all previous SKIPTO and UPTO orders. The original input line is made<br />

available to input orders specified subsequent to RESET.<br />

RESETAUTO (global order)<br />

Sets the IFRAUHND, IFRAUMTB, and IFRAUNEX automation flags to zero<br />

('0'B). Take care not to create automation loops when using this function.<br />

ROUTEZERO (global order)<br />

Overrides any previous specifications of route code <strong>for</strong> the message being<br />

revised.<br />

SETACTION (global order)<br />

Sets the IFRAUACN and IFRAUNVD automation flags. This causes the<br />

message to be held on an operator's screen unless a setting by the DEFAULTS<br />

or OVERRIDE command prevents it. See also the BULLETIN option of the<br />

PIPE ROUTE stage command in the <strong>NetView</strong> online help or in <strong>IBM</strong> <strong>Tivoli</strong><br />

<strong>NetView</strong> <strong>for</strong> z/<strong>OS</strong> <strong>Programming</strong>: <strong>Pipes</strong>.<br />

SETAUTO (global order)<br />

Sets the IFRAUMTB automation flag to one ('1'B). Subsequent routing of the<br />

message within a domain does not result in a submission to the automation<br />

table.<br />

SETCLEAR (global order)<br />

Sets the IFRAUCLR automation flag. This causes the <strong>NetView</strong> command<br />

facility screen to be erased just be<strong>for</strong>e presentation of the message containing<br />

this flag. Use with care to avoid losing important operator messages.

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

Saved successfully!

Ooh no, something went wrong!