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

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

Operand Descriptions<br />

interval<br />

Specifies the maximum time, in seconds, between messages be<strong>for</strong>e messages<br />

are no longer collected. Valid values are in the range of 1 - 10,000,000. The<br />

default is 1.<br />

An asterisk (*) can be specified <strong>for</strong> interval. When an asterisk is specified,<br />

CORRWAIT never times out. The following conditions end the wait:<br />

v A GO command<br />

v A RESET command<br />

v A PIPEND pipe stage<br />

v Secondary output disconnect<br />

v Other conditions that end a wait<br />

seqWait<br />

The second number (after interval) specifies the time in tenths of a second to<br />

wait between messages, after the first message. This is to allow the timeout to<br />

change after responses have begun to flow. Valid values are in the range of 0 -<br />

10,000,000. The default is the same time period (ten times the value of the<br />

argument) as the interval. Note that, <strong>for</strong> purposes of determining the "first"<br />

message, command echos are ignored, as are certain (unseen) internal <strong>NetView</strong><br />

flows.<br />

aftMlWait<br />

The third number (after seqWait) specifies the time in tenths of a second to<br />

wait following receipt of the first multi-line message. This allows you to<br />

change the wait period when you know the pattern of responses. Valid values<br />

are in the range of 0 - 10,000,000. The default is the same time period as was<br />

specified <strong>for</strong> the seqWait.<br />

MOE<br />

Usage Notes<br />

Message on error (MOE) inserts message DWO369I containing a return code<br />

into the stream when a timeout occurs, after any messages the command might<br />

have returned.<br />

CORRWAIT recognizes an artificial timeout if the operator enters the GO<br />

command while the wait is in effect.<br />

v The display of W in the upper right of the operator's screen indicates that<br />

CORRWAIT is actively waiting <strong>for</strong> messages.<br />

v Another stage must follow CORRWAIT in order to actually wait <strong>for</strong> a specific<br />

interval of time.<br />

v When routing a PIPE command to another domain (using RMTCMD), ensure<br />

that your CORRWAIT values are long enough. The system discards<br />

asynchronous, correlated messages that arrive after a CORRWAIT times out.<br />

v When a terminating stage (T<strong>OS</strong>TRING or TAKE) is used to end a wait, the<br />

terminating stage must immediately follow CORRWAIT. This applies only to<br />

MVS or VTAM commands, because <strong>NetView</strong> commands automatically end<br />

CORRWAIT when the commands end.<br />

v For per<strong>for</strong>mance considerations when issuing a command to MVS or VTAM, use<br />

a stage containing terminating conditions (<strong>for</strong> example, T<strong>OS</strong>TRING or TAKE<br />

FIRST) after a CORRWAIT stage. Terminating conditions end data streams early<br />

in the pipeline and allow the pipeline to end be<strong>for</strong>e the timeout period.

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

Saved successfully!

Ooh no, something went wrong!