The DIR system command is used to obtain disk directory information.
<dir command>
── DIR ─┬──────────────────────────┬───────────────────────────────────┤ ├─<parameter list>─────────┤ ├─<numeric report request>─┤ └─ - ──────────────────────┘
Explanation
DIR
Causes FILEDATA to generate a FILENAMES, STRUCTUREMAP, and CHECKERBOARD report for all files on the DISK family.
<parameter list>
Initiates a FILEDATA report by specifying various FILEDATA task requests. The variable parameter list is defined earlier in this section.
<numeric report request>
This variable is explained earlier in this section.
DIR-
Invokes numeric report request number 1.
Examples
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
The following DIR command requests a list of file names on the family HLUNIT:
DIR F:FAMILY=HLUNIT
Either of the following commands invokes the numeric report request number 1:
DIR 1 DIR-
The following command produces three FILEDATA reports. The first report invokes the COPYDECK task request with the CATALOGUE modifier. The second report invokes the CHECKERBOARD task request. The third report invokes the numeric request number 0.
DIR COPYDECK: CATALOGUE; CHECKERBOARD; 0