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

Streams<br />

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

When acting as a requestor, follow the PPI with CORRWAIT with a sufficient wait<br />

time <strong>for</strong> the response to be returned. PPI automatically ends the wait when one<br />

message is received. This message can be a multiline message.<br />

The PPI stage, unlike other <strong>NetView</strong> PPI receivers, can receive multiline messages.<br />

Multiline messages must be in a specific <strong>for</strong>mat to be recognized by the <strong>NetView</strong><br />

program:<br />

v The message must be prefixed with a seven character multiline identifier and a<br />

one-character line descriptor. The multiline identifier must be<br />

X'0F0DC4E2C9FFE3'. The line descriptor indicates the line type desired along<br />

with whether line attributes are provided.<br />

v Line type must be one of the following types:<br />

C Control line<br />

L Label line<br />

D Data line<br />

E End line (can contain data)<br />

Note: The first line must be a control line.<br />

Stream Type Number Supported<br />

Input 1<br />

Output 2<br />

Termination Conditions<br />

PPI terminates when the input stream disconnects or if the secondary output<br />

stream disconnects, if defined.<br />

An input stream can only be specified when PPI is used as a sender. Input<br />

messages are copied to the primary output stream if the primary stream is<br />

connected.<br />

When PPI is used as a receiver or requestor, received messages are written to the<br />

output stream. These messages are identified by a sender message attribute if a<br />

sender name is provided. This sender name is the sender field IFRAUSDR.<br />

A signed 10-digit decimal return code is written to the secondary output stream if<br />

the secondary stream is connected.<br />

Operand Descriptions<br />

receiver_name<br />

A one-to-eight character name of the PPI receiver.<br />

When PPI is a sender or requestor, receiver_name is the name of the program<br />

receiving the sent messages. The abbreviation *ALERT means the alert receiver<br />

name defined to the <strong>NetView</strong> program.<br />

When PPI is a receiver, receiver_name is the name that is used by other<br />

programs to communicate with the PPI stage.

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

Saved successfully!

Ooh no, something went wrong!