LEVEL—Set or Query the Modification Level Number
The LEVEL macro command allows you to control the modification level that is assigned to a member of an ISPF library.
The LEVEL assignment statement either sets the modification level or retrieves the current modification level and places it in a variable.
See Version and modification level numbers for more information about level numbers.
Syntax
- num
- The modification level. It can be any number from 0 to 99.
- varname
- The name of a variable to contain the modification level. The modification level is a 2-digit value that is left-padded with zeros.
- num
- The modification level. A 2-digit value, left-padded with zeros.
Return codes
- 0
- Normal completion
- 4
- Statistics mode is off; the command is ignored
- 12
- Invalid value specified
- 20
- Severe error
Examples
To reset the modification level
to 1:
ISREDIT LEVEL = 1To save the
value of the modification level in variable &MODLVL:
ISREDIT (MODLVL) = LEVEL