LEVEL (LEV)
The LEVEL command sets the PDS modification level for a PDS member.
The command is available in the Edit function in Character mode.
number
Specifies an integer between 1 and 99. The number parameter is required. Omitting the parameter produces the message: ENTER LEVEL NUMBER. Entering an invalid number produces the message: INVALID LEVEL NUMBER.
Guidelines
The LEVEL command is invalid for any type of data set other than a PDS. Entering the LEVEL command while editing a non-partitioned data set produces the message: LEVEL IS INVALID. The command is ignored.
Using the LEVEL command sets the STATS option to ON if it was previously set to OFF. When editing a member with the STATS option set ON, File-AID increments the modification level the first time data is changed during an edit session unless:
- The modification level is set with the LEVEL command before the first change is made, or
- A new PDS member is being edited, which sets the modification level to 0 (zero).
If the modification level is automatically incremented past 99, the version level is incremented and the modification level is reset to 1 (one).
The modification level is saved in the member’s statistics when the END command is entered.