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 CZR<br />

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

Operand Descriptions<br />

count<br />

The number of messages wanted. CZR continues to search <strong>for</strong> messages in the<br />

direction indicated.<br />

CzID<br />

Indicates that Canzlog database ID is supplied as a starting point. The<br />

association of a CzID with a message can last from a few minutes to a few<br />

hours, depending on usage. Your usage of the CzID is limited to values<br />

obtained during a program run, as from the secondary output of a previous<br />

invocation of the CZR stage, and continuing without any wait or suspension.<br />

decimalCzID<br />

A CzID obtained from a previous invocation, from examination of a message<br />

using CzID edit stage, or from a DISPMSG display. Be careful to use fresh<br />

(meaning recently obtained) numbers, as all CzIDs expire at some point. Use<br />

this with CzID keyword<br />

direction<br />

A plus sign (+) or a minus sign (-) indicating the direction of search. The CZR<br />

stage searches <strong>for</strong> messages matching the current filter. Because of the search,<br />

the input time or CzID can be approximate. The default minus (-) means to<br />

search UP toward older messages. A plus sign (+) means search DOWN<br />

toward more recent messages.<br />

STCKvalue<br />

A store-clock value in EBCDIC, where CZR should begin to search <strong>for</strong> your<br />

message. Use this with the TIME keyword. If fewer than 16 characters are<br />

given, the value is padded on the right with zeroes. CZR can extrapolate from<br />

FFFFFFFF to give you the most recent message, but when searching upward<br />

(with plus sign), use a date that is within the range of the available data to<br />

avoid I/O errors.<br />

TIME<br />

Indicates that a time in STCK <strong>for</strong>mat is supplied as a starting point. Note that<br />

times in U.S. standard <strong>for</strong>mat can be converted to STCK <strong>for</strong>mat using the edit<br />

orders DTS and C2X together. Be careful not to specify a time earlier than any<br />

record in the Canzlog data, because this causes an error.<br />

Command Description<br />

Requested messages are output on the primary output stream. If a secondary<br />

output is connected, a message with three numbers is displayed, indicating<br />

v The number of messages returned.<br />

v A CzID that can be used to continue search in the same direction.<br />

v An indication of how long the operation took in units of about 1/244 seconds<br />

(more precisely, 1.048576/256 second units). The number returned can be less<br />

than the number requested due to RESET, excessive errors (skipped segments),<br />

or excessive time. The suggested starting point <strong>for</strong> continued search can be<br />

minus one (-1); this means that there are no more messages in the indicated<br />

direction.<br />

Usage Notes<br />

A CzID is a direct index to a message and is the fastest way to locate a message.<br />

Depending on system demands, CzIDs might be stable <strong>for</strong> several hours or <strong>for</strong><br />

only several seconds. If a wait occurs between obtaining a CzID and its use, or if<br />

an unexpected message is obtained, start your search again using the last known<br />

good store-clock value.

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

Saved successfully!

Ooh no, something went wrong!