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

Syntax<br />

CZR<br />

►► CZR TIME STCKvalue<br />

CzID decimalCzID<br />

Alternate syntax<br />

CZR<br />

►► CZR TIME STCKvalue<br />

CzID decimalCzID<br />

1<br />

count<br />

1<br />

count direction<br />

Command Description<br />

The CZR stage retrieves messages from the Canzlog database. Messages retrieved<br />

are identical with the original message at the time it was logged. Use the CZR<br />

stage in conjunction with the CNMECZFS command, so that filtering can be<br />

applied prior to message identification. The CZR stage returns only messages that<br />

match the current filter established by CNMECZFS; the input time or message<br />

identifier serves as a starting point <strong>for</strong> a search of Canzlog data <strong>for</strong> messages<br />

matching the filter.<br />

Streams<br />

If a secondary output is defined and connected, a single line is written there at the<br />

completion of operations. This single line consists of three numbers, as follows:<br />

1. Number of messages actually produced by CZR on its primary output<br />

2. The Canzlog database ID (CzID) of the next message from which your search<br />

can resume, if you want to continue the search. If the search reached the end of<br />

data, a minus one (-1) is returned.<br />

3. A zero (0), if all requested messages were produced; otherwise an indication of<br />

how much time the search consumed in units of 0.004096 seconds.<br />

Stream Type Number Supported<br />

Input 1<br />

Output 2<br />

−<br />

+<br />

PIPE CZR<br />

Termination Conditions<br />

CZR terminates when any of these conditions is met:<br />

v When its primary output stream is disconnected.<br />

v When the time <strong>for</strong> searching defined by DEFAULTS CZBRWAIT has expired.<br />

v When the last record in the direction indicated has been examined.<br />

►◄<br />

►◄<br />

Chapter 2. Pipeline Stages and Syntax 65

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

Saved successfully!

Ooh no, something went wrong!