LEVEL command

The LEVEL command shows only data set objects that satisfy the specified level of DSNAME qualifier.

Syntax

Read syntax diagramSkip visual syntax diagramLEVELlevel_numberALL

Operands

level_number
A qualifier level number
ALL
Displays data sets of every level

Usage notes

LEVEL can only be used a main command.

If you enter the command LEVEL with no operand, a message is displayed requesting the input of either a level qualifier or the operand ALL.

The first level of qualifier is assumed. Therefore, a level of qualifier specified as 1 returns data set names of two positions or less, where a level qualifier of 2 returns all data sets of three positions or less.

Level 1 Level 2 Level 3
SERVICES SERVICES SERVICES
SERVICES.ACSREP SERVICES.ACSREP SERVICES.ACSREP
SERVICES.ACSREP.JCL SERVICES.ACSREP.JCL
SERVICES.ACSREP.PCF.JCL