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.

2. The NETVIEW stage reads the pipeline messages and uses them as input to the<br />

MSGROUTE command which sends a copy of the held messages to OPER3's<br />

screen, where they are held also. The number of messages in the pipeline<br />

affects how many times the NETVIEW stage runs. In this case, one message is<br />

in the pipeline.<br />

Note: The message that is displayed on OPER3's screen is only a copy and the<br />

original held message is still displayed on ORIGOPER's console.<br />

Example 2: Deleting Held Messages<br />

This example shows how to use the HELDMSG stage with the CONSOLE stage to<br />

delete held messages from an operator's screen:<br />

PIPE HELDMSG | CONSOLE DELETE<br />

Output showing existing held messages follows:<br />

NCCF NETVIEW CNM01 OPER6 03/20/10 15:06:33<br />

" CNM01<br />

IEE104I 15.05.33 99.079 ACTIVITY 973<br />

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

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

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

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

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

MYENV MYENV NETVIEW NSW S<br />

USER2 OWT<br />

* CNM01 MVS D A,L<br />

Output of the PIPE command follows:<br />

NCCF NETVIEW CNM01 OPER6 02/01/10 15:07:00<br />

| NM01<br />

| 104I 15.05.33 99.032 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 writes a copy of the held message queue to the output<br />

stream.<br />

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

pipeline.<br />

Notice that the vertical bar (|) has replaced the first characters of each line,<br />

indicating that the message is no longer held.<br />

Inserting Text into the Pipeline: LITERAL<br />

The LITERAL stage enables the user to insert text into the pipeline.<br />

Example 1: Inserting Text into the Pipeline<br />

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

This example shows how to use the LITERAL stage to add a message to the<br />

pipeline and then display it.<br />

Chapter 3. <strong>NetView</strong> Pipelines Device Drivers 287

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

Saved successfully!

Ooh no, something went wrong!