DIR (Directory)

The DIR (Directory) command lists the directory of files on the system disk or on another disk pack. This command invokes the utility SYSTEM/FILEDATA. Refer to the System Software Utilities Operations Reference Manual for more information about the SYSTEM/FILEDATA utility.

Syntax

Explanation

DIR

Generates a standard report for all files on the DISK family. This report contains a directory list and the files area layout in response to FILENAMES, STRUCTUREMAP, and CHECKERBOARD task requests.

DIR <parameter list>

Generates a report for the specified file parameters. The parameter list is explained in the section on FILEDATA in the System Software Utilities Reference Manual.

DIR <numeric report request>

Generates the numeric report request. The numeric report request is explained in the section on FILEDATA in the System Software Utilities Reference Manual.

DIR –

Causes SYSTEM/FILEDATA to generate a report for all files on the DISK family. This report contains a directory list in response to the FILENAMES task request.

Examples

Example 1

The following DIR command requests a standard report of the directory A/B on the family HLUNIT:

DIR F:DIR= A/B ON HLUNIT;S;CH

Example 2

The following DIR command requests a list of filenames on the family HLUNIT:

DIR F:FAMILY=HLUNIT