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.

<strong>NetView</strong> Pipelines Device Drivers<br />

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

Processing steps:<br />

1. The VTAM stage invokes the incorrect DISPLAY command and returns error<br />

messages DSI071I and IST191I, to the pipe. The MOE option generates the<br />

DW0369I message.<br />

2. The CORRWAIT stage allows 5 seconds <strong>for</strong> each message to return from<br />

VTAM. CORRWAIT must be used when sending commands to other<br />

applications, such as VTAM or MVS, or to another <strong>NetView</strong> system to allow<br />

enough time <strong>for</strong> a response to return.<br />

3. The CONSOLE stage reads the messages and displays them.<br />

Example 3: Running a VTAM Command in a Remote Domain<br />

This example shows how to use the VTAM stage to issue the D NET, CDRMS<br />

command in a remote domain and return the results to the screen at the local<br />

domain:<br />

PIPE NETVIEW RMTCMD LU=CNM01,<br />

PIPE (STAGESEP %) VTAM D NET,CDRMS<br />

% CORRWAIT 10<br />

% CONSOLE<br />

| CORRWAIT 20<br />

| CONSOLE<br />

Output from the pipeline follows:<br />

NCCF NETVIEW CNM19 OPER6 04/29/10 14:35:00<br />

* CNM19 PIPE NETVIEW RMTCMD LU=CNM01, PIPE (STAGESEP %) VTAM D NET,CDRMS<br />

% CORRWAIT 10 % CONSOLE | CORRWAIT 20 | CONSOLE<br />

CNM01 IST097I DISPLAY ACCEPTED<br />

’ CNM01<br />

IST350I DISPLAY TYPE = CDRMS<br />

IST089I C01CDRMS TYPE = CDRM SEGMENT , ACTIV<br />

IST482I C01M ACTIV, SA 1, EL 1, NETID = NETC<br />

IST482I C02M NEVAC, SA 2, EL 1, NETID = NETC<br />

IST482I C11M NEVAC, SA 11, EL 1, NETID = NETC<br />

IST482I A09M NEVAC, SA N/A, EL N/A, NETID = NETA<br />

IST482I A19M ACTIV, SA 10, EL 3, NETID = NETA<br />

IST482I A29M NEVAC, SA N/A, EL N/A, NETID = NETA<br />

IST482I A69M NEVAC, SA N/A, EL N/A, NETID = NETA<br />

IST482I A99M NEVAC, SA N/A, EL N/A, NETID = NETA<br />

IST482I B18M NEVAC, SA N/A, EL N/A, NETID = NETB<br />

IST482I B20M NEVAC, SA N/A, EL N/A, NETID = NETB<br />

IST482I B24M NEVAC, SA N/A, EL N/A, NETID = NETB<br />

IST482I B52M NEVAC, SA N/A, EL N/A, NETID = NETB<br />

IST482I D09M NEVAC, SA N/A, EL N/A, NETID = NETD<br />

IST314I END<br />

Processing steps:<br />

1. The outer pipe starts running.<br />

2. The NETVIEW stage issues the RMTCMD to send the inner PIPE command to<br />

the remote domain to run.<br />

3. The inner pipe starts running.<br />

4. The inner pipe runs at the remote domain. Within it, the VTAM stage issues<br />

the DISPLAY command and resulting messages are returned to the inner pipe.<br />

(The messages are not displayed at the remote domain.)<br />

5. The CORRWAIT stage waits 10 seconds <strong>for</strong> each message to return to the<br />

inner pipeline from the VTAM stage.<br />

6. The CONSOLE stage reads the messages and returns them to the outer pipe.<br />

They are NOT displayed on the screen at the remote location.<br />

7. The inner pipe terminates.

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

Saved successfully!

Ooh no, something went wrong!