z/OS ISPF Edit and Edit Macros
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


LEVEL—Set or Query the Modification Level Number

z/OS ISPF Edit and Edit Macros
SC19-3621-00

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

Read syntax diagramSkip visual syntax diagram
Macro command syntax

>>-ISREDIT--LEVEL--num-----------------------------------------><

num
The modification level. It can be any number from 0 to 99.
Read syntax diagramSkip visual syntax diagram
Assignment statement syntax

>>-ISREDIT--(varname)-- = --LEVEL------------------------------><

Read syntax diagramSkip visual syntax diagram
>>-ISREDIT--LEVEL-- = --num------------------------------------><

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 = 1
To save the value of the modification level in variable &MODLVL:
ISREDIT (MODLVL) = LEVEL

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014