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.

If an argument is not specified and the target is from the secondary input stream,<br />

ROUTE ends when either the primary or secondary input stream disconnects.<br />

Operand Descriptions<br />

Usage Notes<br />

Examples<br />

label:<br />

Specifies a valid label. A label can be supplied to the ROUTE stage as a<br />

parameter or as input from the secondary input stream. The three-part syntax<br />

(netid.luname/oper_id:) or two-part syntax (rmtalias/oper_id:) is defined and used<br />

the same way as command labels used with CORRCMD stage with the<br />

following exceptions:<br />

v An asterisk (*) supplied <strong>for</strong> the operator name denotes the current operator<br />

ID when the ROUTE takes place.<br />

v A percent sign (%) can be used in place of the oper_id to indicate to send the<br />

message to the authorized receiver at the target domain, as indicated by the<br />

netid and luname.<br />

v An exclamation (X'5A') can be used in place of the oper_id to indicate that<br />

the message becomes a bulletin at the target domain, as indicated by the<br />

netid and luname.<br />

AUTHRCVR<br />

Indicates the messages are sent to the authorized receiver in the local domain.<br />

BULLETIN<br />

Indicates a copy of the message is sent to every operator and autotask<br />

currently logged on. A copy of the message is also issued to every operator<br />

who subsequently logs on.<br />

You can cancel a bulletin message by issuing a DOM command against it. For<br />

example, from an operator station that still has a copy of the message<br />

(ABC123E), issue the following command:<br />

PIPE HELDMSG | LOCATE /ABC123E/ | NETV DOM CURMSG<br />

v To send messages to a remote domain over IP, the IP address of the domain<br />

must be defined using the RMTSYN statement in the CNMSTYLE member.<br />

v The authorized receiver is determined by the individual message. For more<br />

in<strong>for</strong>mation, see the online help <strong>for</strong> the ASSIGN command (PRI and SEC<br />

keywords).<br />

Example: Sending a Message to OPER1<br />

To send a message to OPER1, enter:<br />

PIPE LITERAL /Hello/ | ROUTE /OPER1:<br />

Example: Sending Multiple Messages<br />

To send multiple messages to operators OPER1, OPER2, and NETOP1 from a<br />

REXX Exec:<br />

dest.1 = ’/OPER1:’<br />

dest.2 = ’/OPER2:’<br />

dest.3 = ’/NETOP1:’<br />

dest.0 = 3<br />

’PIPE (END &)’,<br />

’| NETVIEW LIST TASK’, /* generate "a few" messages */<br />

’| A: ROUTE ’, /* route to destination read from */<br />

, /* below end of main pipeline */<br />

PIPE ROUTE<br />

Chapter 2. Pipeline Stages and Syntax 205

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

Saved successfully!

Ooh no, something went wrong!