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.

PIPE IPLOG<br />

PIPE IPLOG<br />

Syntax<br />

IPLOG:<br />

IPLOG host port facility priority<br />

Command Description<br />

The IPLOG stage sends a system log message to a remote host. The message is<br />

taken from the input stream.<br />

Note: Most system log daemons only process single-line messages. Unless you are<br />

sending to a daemon that supports multiline messages, such as the <strong>NetView</strong><br />

system log daemon, ensure that single-line messages are passed as input to<br />

IPLOG. This might require the SEPARATE stage. See “PIPE SEPARATE ” on<br />

page 211.<br />

Operand Descriptions<br />

Examples<br />

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

host<br />

Specifies the name of the remote host. It can be specified as a host name or an<br />

IP address.<br />

port<br />

Specifies the server port to use. In most cases, it is 514.<br />

facility<br />

Specifies the source of the message. It accepts the same values as the facility<br />

portion of the -p operator command option.<br />

priority<br />

Specifies the message priority. It accepts the same values as the priority portion<br />

of the -p operator command option.<br />

Example: Sending a System Log Message<br />

PIPE LIT /My Message/<br />

| IPLOG NMP119 512 USER ALERT

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

Saved successfully!

Ooh no, something went wrong!