ALIAS
Specify the file name and file type (or namedef) parameter with
the directory name, file mode, or namedef and ALIAS. You must have
read authority on the file name specified. If special characters (*
and %) are specified to designate a set of files, you must have read
authority on the directory. Information returned from later DMSGETDI
and DMSGETDL calls consists of:
- Input file identifier
- Input file mode number
- Type (base, alias, erased, revoked)
- Number of aliases
- Directory name and length
- Output file identifier
- Output file mode number
- User ID of the owner
- Migration indicator.
If the input file on the open directory is a base file, then the file's aliases are returned. If the input file on the open directory is an alias, then the file's base file information is returned. DMSGETDI also returns the type of open (has a value of 4 for ALIAS).