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.

PIPE LOGTO<br />

HCYLOG<br />

Sends the message to the hardcopy log regardless of DEFAULTS or OVERRIDE<br />

command settings.<br />

NETLOG<br />

Sends the message to the network log and to the Canzlog log regardless of<br />

DEFAULTS or OVERRIDE command settings.<br />

SYSLOG<br />

Sends the message to the system log regardless of DEFAULTS or OVERRIDE<br />

command settings.<br />

Usage Notes<br />

Examples<br />

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

v The LOGTO stage cannot be the first stage.<br />

v In the LOGTO stage, do not specify * or ALL operands with any other<br />

keywords. You can specify any or all of the other logs in any combination.<br />

v If you use the CANZLOG, NETLOG, SYSLOG, HCYLOG, or ALL operands, the<br />

settings <strong>for</strong> all logs in the DEFAULTS and OVERRIDE commands are ignored,<br />

not just the logs specified on the LOGTO stage.<br />

v Messages written to the CanzLog file by the LOGTO stage are considered new<br />

messages and might result in duplication in the CanzLog file.<br />

Example: Inserting a Text String and Logging It<br />

To insert a text string and log it in a <strong>NetView</strong> network log, enter:<br />

PIPE LITERAL /TEST OF COMMAND XYZ STARTS HERE/ | LOGTO NETLOG

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

Saved successfully!

Ooh no, something went wrong!