LEVEL

The LEVEL = <integer> modifier specifies the number of file name levels that should be listed beyond the name given in the DIRECTORY or TITLE parameter. For example, if the files A/B, A/C/D, and A/E/F/G exist, and a FILEDATA report is initiated on DIR = A LEVEL = 2, FILEDATA would report on A/B and A/C/D. It would also show that the directory A/E/F exists, but would not report on the file A/E/F/G. If no DIRECTORY or TITLE value is given, LEVEL specifies the total number of levels to be listed. Usercodes are always counted as a level.

When LEVEL is specified, only information about the files that are shown is listed. Information, such as size in segments, is not listed for files that are not shown and is not included in any totals of such information. However, for a FILENAMES request, the final total shown on the report includes the size of all listed files and directories.

LEVEL is invalid with the CONTAINER, DATABASE, and TAPE modifiers.