Previous Topic: CLIST Variables That TSO/E Creates

Next Topic: OPSCMD Return Codes

CLIST Variables That OPSCMD Creates

If you issue OPSCMD without the CMDRESP(REXX), CMDRESP(CLIST), or NOCLIST keywords and &SYSOUTTRAP has a value other than zero, OPSCMD creates additional CLIST variables from system command output. These variables contain the number of tokens found in each line of system command output and the value of each token.

Note: Tokens are strings enclosed in delimiters. The CA OPS/MVS product recognizes blanks and the following characters as delimiters: ( ) / = ,. All delimiters except the blank are also tokens and have CLIST variables created for them. Each use of any delimiter, except the blank, counts as one delimiter, but any number of blanks in one row counts as a single delimiter.

The CLIST variables created have these names:

Name

Description

&SYSOUTLINEnW

Contains the number of tokens in line n. n is the current output line number without any leading zeroes or blanks.

&SYSOUTLINEnWm

Contains the value of the mth token on line n. m is a sequential token number (starting with 1 and increased incrementally by 1) and n is the current output line number.