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

PIPE TSO<br />

Syntax<br />

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

TSO:<br />

TSO<br />

(ECHO) tso_command<br />

Command Description<br />

TSO transfers a command to a <strong>NetView</strong> TSO server, which is a batch job submitted<br />

by <strong>NetView</strong> or a started task. The command is executed and the results returned.<br />

Specify CORRWAIT to follow TSO to enable the return of command responses.<br />

Commands can be passed on the stage or on the input stream. If tso_command is<br />

not specified and a multiline message is received on the primary input stream, the<br />

first line of the message is considered the TSO command and all other message<br />

lines are passed as the data of that command. If tso_command is specified, that<br />

command is executed <strong>for</strong> each input message or only once if there is no primary<br />

input stream.<br />

When TSO has a primary input stream and no tso_command is specified, the<br />

command to be executed is read from the primary input stream. The message<br />

input to the TSO stage at the time the TSO command is scheduled is passed to the<br />

TSO server <strong>for</strong> execution. The message data is contained in a sequential file<br />

userid.NVCMDIN that is allocated as DD NVCMDIN. NVCMDIN is not allocated if<br />

there is no current message <strong>for</strong> the command.<br />

A secondary input stream can be connected to TSO. The secondary input stream<br />

must contain records that contain the TSO user ID optionally followed by the TSO<br />

server job member name. The user ID and server job member name must be<br />

separated by at least one blank. If the server job member name is not specified, it<br />

defaults to CNMSJTSO. The default server is the server specified <strong>for</strong> this operator<br />

by the START command.<br />

If a secondary input stream is not connected, the TSO server started <strong>for</strong> the issuing<br />

operator is used. The default operator is specified on the START command.<br />

The TSO server job member name is specified on the START command with the<br />

TS<strong>OS</strong>ERV and MEM keywords.<br />

Each primary input stream message is associated one-<strong>for</strong>-one to each secondary<br />

input stream message. That is, <strong>for</strong> each primary input stream message there can be<br />

a secondary input stream message indicating the TSO server where the primary<br />

input stream messages are to be sent. If either the primary or secondary input<br />

stream is exhausted be<strong>for</strong>e the other, the remaining input on the active input<br />

stream is discarded. If no secondary input stream is defined, all messages on the<br />

primary input stream are sent to the TSO server started <strong>for</strong> the issuing operator.

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

Saved successfully!

Ooh no, something went wrong!