The DIRECTORY command will display all or just selected portions of the directory database.
Windows/OpenVMS Format:
directory/directory directory_name [/qualifiers]
UNIX/Linux Format:
lsdir directory_name [-qualifiers]
/check or -check
/owner or -owner
/protection or -protection
/security or -security
/full or -full
/node or -node = target_node
/noheading or -noheading
/notrailing or -notrailing
/symbol or -symbol=[prefix_string,format]
Windows:
Schedule> directory/directory \asante\* /protection
directory entries in \asante
\asante\dev s:rwedc,o:rwedc,g:rw,w
\asante\prd s:rwedc,o:rwedc,g:rw,w
\asante\rmt s:rwedc,o:rwedc,g:rw,w
total of 3 directories
OpenVMS:
Schedule> directory/directory [TSMITH]
Directory entries in [TSMITH]
[TSMITH.A] [TSMITH.ACE] [TSMITH.B] [TSMITH.C] [TSMITH.D] [TSMITH.FOLDER1]
[TSMITH.LML_TESTING] [TSMITH.MDB_MGR] [TSMITH.NEW_FOLDER] [TSMITH.ORACLE] [TSMITH.TEST]
[TSMITH.TEST_RUN] [TSMITH.TRC_MGR] [TSMITH.TREAKLE] [TSMITH.WELL]
Total of 15 directories
UNIX/Linux:
Schedule> lsdir -full
/alee
Owner = alee:ise
Replicate =
Protection = drwxrw----
/default
Owner = root:root
Replicate =
Protection = drwxr-xr-x
/folder1
Owner = pjones:ise
Replicate =
Protection = drwxrw----
/perltesting
Owner = alee:ise
Replicate =
Protection = drwxrw----
/check or -check
Workgroup Calendars Only. The CHECK option displays the designated object's status on the nodes in the current workgroup. Any differences are displayed as:
<node_name>: different
Adding the -log qualifier displays the specific differences between the object(s) on specific nodes.
/columns or -columns=number
The COLUMNS qualifier specifies how many columns to use when listing just the item name. The default is four columns.
/hostname or -node =hostname
The qualifier specifies what node (either local or remote) you want the operation performed on.
/full or -full
The FULL options displays all known information about a directory entry.
/noheading or -noheading
The NOHEADING removes the heading information from the directory listing.
/notrailing or -notrailing
The NOTRAILING removes the trailing information from the directory listing.
/output or -output=output_file
The OUTPUT option sends all output to a text file. Output can be printed or displayed as needed.
/owner or -owner
The OWNER qualifier displays the owner UIC code for the job.
/protection or -protection
/security or -security
The SECURITY option is the same as specifying the /acl, /owner or -owner and /protection or -protection qualifiers.
/symbol or -symbol[=prefix_string] or [=(prefix string,format)]
The SYMBOL requests that all directory information be output to a group of environmental variables. Every field in the control record is loaded into a single environmental variable. The symbol name is constructed by prefixing the field name with the provide string. If none is provided a default value of SG is used.
The format defines the way that symbols are output. The default output specification is: "$ %s=\" %s\" "" which produces the following format style.
SG_ACCOUNT = "DEVELOPM"
Alternate output styles may be created by changing the format field.