z/OS TSO/E Programming Services
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


RANGE

z/OS TSO/E Programming Services
SA32-0973-00

The RANGE option can be used with the following positional operand types: HEX (X'' only), ADDRESS, VALUE, CONSTANT, VARIABLE, STATEMENT NUMBER, INTEG, and any non-delimiter-dependent positional operand.

If you specify the RANGE option in the parse macro instructions describing the positional operand types listed above, the parse service routine builds two identical, sequential PDEs within the PDL returned to the calling routine. Parse allocates space for the second PDE even though the terminal user cannot actually specify a range. If a range is not supplied, the second PDE is set to zero. The flag bit which is normally set for a missing parameter will also be zero in the second PDE.

Figure 1 shows the PDL returned by the Parse Service Routine after two positional operands have been entered. In this case, the first operand is a USERID operand and the second operand is a VALUE operand that had the RANGE option coded in the IKJPOSIT macro instruction that defined the operand syntax. For this example, the VALUE operand was not entered as a range, and, consequently, parse sets the second PDE to zero.

Figure 1. A PDL showing PDEs describing a range

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014