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.

Streams<br />

v If data is in the <strong>for</strong>m variable1=variable2, all messages where variable1 does not<br />

equal variable2<br />

If no secondary output stream is defined, all messages are written unchanged to<br />

the primary output stream.<br />

Stream Type Number Supported<br />

Input 1<br />

Output 2<br />

Termination Conditions<br />

VARLOAD terminates when the input stream is disconnected or when all variables<br />

are set and all defined output streams are disconnected.<br />

Operand Descriptions<br />

Usage Notes<br />

PIPE VARLOAD<br />

(COMMON)<br />

Specifies variable1 is accessed from the common global variable dictionary<br />

instead of the local variable dictionary.<br />

(TASK)<br />

Specifies variable1 is accessed from the task global variable dictionary instead<br />

the local variable dictionary.<br />

(number)<br />

Specifies the number invocations (generations) to refer back to when accessing<br />

variable1. The number of generations refers to the current nesting level within<br />

the REXX, PL/I, or C calling sequence. ENVDATA can be used to determine<br />

the number of generations.<br />

(Number) must be zero (0) or greater and less than, or equal to, the existing<br />

number of generations. If (number) is greater than (0), the variables are in a<br />

generation preceding the current generation. The specified generation can<br />

precede the generation from which the PIPE command is issued.<br />

The default <strong>for</strong> (number) is zero (0).<br />

v VARLOAD does not delay the stream.<br />

v Variable1 and variable2 can be any valid REXX variable. (COMMON) and (TASK)<br />

variables can be a maximum of 32 characters in length.<br />

v VARLOAD translates variable names to uppercase. Stem variable names are<br />

translated to uppercase up to the first period.<br />

v VARLOAD does not substitute symbols in the stem of a variable name specified<br />

as a compound symbol.<br />

v To remove unwanted trailing blanks from input records be<strong>for</strong>e executing<br />

VARLOAD, use STRIP with the TRAILING keyword prior to VARLOAD.<br />

v All data after the second delimiter is assigned to the variable regardless of<br />

intervening blanks or subsequent delimiters.<br />

Chapter 2. Pipeline Stages and Syntax 255

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

Saved successfully!

Ooh no, something went wrong!