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.

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

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

NCCF NETVIEW CNM01 OPER6 03/20/10 16:55:08<br />

* CNM01 PIPE NETVIEW LIST ’’ | CONSOLE ONLY<br />

- CNM01 STATION: OPER6 TERM: A01A701<br />

- CNM01 HCOPY: NOT ACTIVE PROFILE: DSIPROFA<br />

- CNM01 STATUS: ACTIVE<br />

- CNM01 DOMAIN LIST: CNM01 (I) CNM02 (I) CNM20 (I) CNM99 (I)<br />

- CNM01 ACTIVE SPAN LIST: NONE<br />

- CNM01 END OF STATUS DISPLAY<br />

Processing steps:<br />

1. The NETVIEW stage invokes the LIST command and places the corresponding<br />

response messages in the pipeline.<br />

2. The CONSOLE ONLY stage reads the messages and displays them on the<br />

operator console, but does not expose the messages <strong>for</strong> automation or logging.<br />

Note: The PIPE command is echoed in the log although the results of the PIPE<br />

command are not logged.<br />

Example 2: Deleting Held Messages<br />

The next example shows how to use the CONSOLE stage with the DELETE option<br />

to release the held status of a message on the operator's screen:<br />

PIPE HELDMSG | CONSOLE DELETE<br />

Output showing existing held messages looks like this:<br />

NCCF NETVIEW CNM01 OPER6 04/14/10 15:06:33<br />

" CNM01<br />

IEE104I 15.05.33 99.104 ACTIVITY 973<br />

JOBS M/S TS USERS SYSAS INITS ACTIVE/MAX VTAM<br />

00000 00007 00001 00014 00002 00001/00300<br />

LLA LLA LLA NSW S VLF VLF VLF NSW S<br />

JES2 JES2 IEFPROC NSW S MYVTAM MYVTAM VTAM NSW S<br />

TSO TSO TCAS OWT S MYESSI MYESSI NETVIEW NSW S<br />

MYENV MYENV NETVIEW NSW S<br />

USER2 OWT<br />

* CNM01 MVS D A,L<br />

Output from the pipeline looks like this:<br />

NCCF NETVIEW CNM01 OPER6 04/14/10 15:07:00<br />

| NM01<br />

| 104I 15.05.33 99.104 ACTIVITY 973<br />

| BS M/S TS USERS SYSAS INITS ACTIVE/MAX VTAM<br />

| 00 00007 00001 00014 00002 00001/00300<br />

| A LLA LLA NSW S VLF VLF VLF NSW S<br />

| S2 JES2 IEFPROC NSW S MYVTAM MYVTAM VTAM NSW S<br />

| O TSO TCAS OWT S MYESSI MYESSI NETVIEW NSW S<br />

| ENV MYENV NETVIEW NSW S<br />

| R2 OWT<br />

* CNM01 PIPE HELDMSG | CONSOLE DELETE<br />

Processing steps:<br />

1. The HELDMSG stage reads the held message queue and writes a copy of it to<br />

the output stream.<br />

2. The CONSOLE DELETE stage resets the hold status of the messages and writes<br />

them back on the screen.

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

Saved successfully!

Ooh no, something went wrong!