DIR

Specify the directory name, file mode, or namedef and DIR. The file name and file type (or namedef) must not be specified. Each subdirectory is returned on later GET DIRECTORY calls. The directory name consists of the file pool ID, user ID, and up to 8 subdirectory names. Information returned from later DMSGETDI and DMSGETDD calls consists of:
  • Directory length
  • Directory name
  • Directory attribute.

DMSGETDI also returns the type of open (has a value of 7 for DIR).

For the exact output information for each of the intent parameters, see the DMSGETDI routine (Get Directory) in the z/VM: CMS Callable Services Reference.