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

Syntax<br />

MVS:<br />

MVS<br />

MOE cmdtext<br />

Command Description<br />

The MVS stage specifies an MVS command to run. It can be used as a replacement<br />

to coding MVS commands within the NETVIEW stage. All rules that apply to an<br />

MVS command issued using the NETVIEW stage also apply here. See “PIPE<br />

NETVIEW ” on page 167 <strong>for</strong> these rules.<br />

Streams<br />

Stream Type Number Supported<br />

Input 1<br />

Output 1<br />

Termination Conditions<br />

The MVS stage terminates when it finishes processing its output or when the input<br />

stream is disconnected.<br />

Operand Descriptions<br />

cmdtext<br />

Specifies the command.<br />

If MVS is the first stage, cmdtext is required.<br />

If MVS is not the first stage, cmdtext is optional. The command is run once <strong>for</strong><br />

each message delivered by the previous stage. Every time the command runs,<br />

the input message becomes the current message during the processing.<br />

MOE<br />

Message on error (MOE) examines the return code from the command. If the<br />

return code is not zero, it inserts message DWO369I containing the return code<br />

into the stream after any messages the command might have returned. If you<br />

do not specify MOE, return codes from commands are ignored.<br />

Usage Notes<br />

Any restrictions that apply to running an MVS command under PIPE NETVIEW<br />

also applies to PIPE MVS.<br />

Note: MVS system commands can be issued from the <strong>NetView</strong> program only if<br />

extended multiple console support (EMCS) consoles are being used.<br />

Return Codes<br />

The following return codes are valid only when the MOE operand is used.<br />

Return Code Meaning<br />

PIPE MVS<br />

Chapter 2. Pipeline Stages and Syntax 165

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

Saved successfully!

Ooh no, something went wrong!