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

v When RMTCMD or service point stages are entered using CORRCMD,<br />

termination conditions are inherent in the stage. Other termination conditions<br />

defined by CCDEF are redundant.<br />

v When the target stage (following the RMTCMD label syntax) is PIPE, the<br />

CORRCMD stage does not <strong>for</strong>ce output to be collected into one multiline<br />

message. You can add a COLLECT stage to your pipeline specification <strong>for</strong> better<br />

per<strong>for</strong>mance.<br />

v When you use the RMTCMD label syntax to transfer stages to a <strong>NetView</strong> V2R3<br />

domain, the target command must be PIPE. However, you can use the pipeline<br />

to run other stages. See “PIPE NETVIEW ” on page 167 <strong>for</strong> a list of some<br />

commands <strong>for</strong> which command and response correlation is supported.<br />

Return Codes<br />

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

Examples<br />

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

Return Code Meaning<br />

-4 Installation exit 03 generated USERDROP.<br />

-500 to -599 Failure attempting to call installation exit 03. Report specific return<br />

code to the <strong>IBM</strong> Software Support.<br />

-108 Stage is type=I or type=P.<br />

-112 Stage search failed. This is usually because the stage is too long.<br />

-116 ACCESS not authorized. Command authorization restrictions<br />

prevent processing.<br />

-120 Command is type=D.<br />

There are other possible return codes indicating storage failure. The code you get<br />

depends upon the processing phase when storage failure was detected. Look <strong>for</strong><br />

DSI124I at the system console <strong>for</strong> this condition.<br />

Example: Issuing a VTAM Command<br />

To issue the VTAM stage D NET,APPLS, trap the resulting messages, and display<br />

them, enter:<br />

PIPE CORRCMD D NET,APPLS<br />

| CONSOLE<br />

Example: Issuing a Command to the Remote Domain<br />

To transfer a VARY stage to a remote domain (by the RMTCMD stage) and to<br />

arrange the timer and termination condition stages at both the local and remote<br />

domains, enter:<br />

PIPE CORRCMD CNM18: VARY NET,ACT,ID=XYZ<br />

| CONSOLE ONLY<br />

Response<br />

v At the local domain:<br />

– An appropriate wait time <strong>for</strong> the RMTCMD stage is arranged.<br />

v At the remote domain (CNM18):<br />

– The VARY stage is run.<br />

– An appropriate wait time <strong>for</strong> the response to the stage is arranged.<br />

– The wait is terminated when the expected response is received.

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

Saved successfully!

Ooh no, something went wrong!