Format DIRECTORY [ qualifier ] ... [ element-name ] ,...
1 – Parameters
1.1 – element-name
Specifies the element or elements to be listed. This name can specify a CDO element, a CDO directory, or a logical name.
2 – Qualifiers
2.1 /BEFORE
Format options: /BEFORE=time /NOBEFORE (default) Selects only those elements dated before the specified time. If you do not specify a time with the /BEFORE qualifier, CDO uses /BEFORE=TODAY qualifier as the value.
2.2 /BRIEF
Format option: /BRIEF (default) Displays the element names and their types. This is the default display.
2.3 /FORMAT
Format options: /FORMAT /NOFORMAT (default) Displays the text specifying whether the element is in CDO or DMU format (in a CDO repository or a DMU dictionary).
2.4 /FULL
Displays the name, type, parent, approximate size, and access control information (protection) for each repository element. If an element appears under an alternate name in a distributed repository, these names appear also.
2.5 /SINCE
Format options: /SINCE=time /NOSINCE (default) Displays only those elements dated at or after the specified time. If you do not specify a time with the /SINCE qualifier, CDO uses /SINCE=TODAY as the value.
2.6 /TYPE
Format options: /TYPE=(type-name,...) /NOTYPE (default) Displays only elements of the specified type or types. You cannot use wildcard characters in the type name.
3 – Description
The DIRECTORY command lists an element or elements in one or more repository directories. RESTRICTION If you have a context set, CDO limits the display to those elements that are visible to your context. If you do not have a context set, this restriction does not apply. CDO only displays the names of those elements to which you have READ access. With the /BEFORE and /SINCE qualifiers, you can specify any of the following for a time: o Absolute time o Combination of absolute and delta times o A keyword such as TODAY or YESTERDAY See the OpenVMS documentation for more information about specifying times.
4 – Examples
1.CDO> DIRECTORY /SINCE=YESTERDAY In this example, the DIRECTORY command will display the names, versions, and types of all elements CDO has created since 00:00 (midnight) of the previous day in the current default directory. 2.CDO> DIRECTORY /FULL DISK1:[JONES.DICT]REVIEW.* Directory DISK1:[JONES.DICT]REVIEW FIRST_NAME(1) FIELD Created: 8-MAY-1995 13:33:28.95 Revised: 8-MAY-1995 13:33:32.99 Owner: [VDD,JONES] Access Cntrl List: (IDENTIFIER=[VDD,JONES],ACCESS=READ+WRITE+MODIFY+ ERASE+SHOW+DEFINE+CHANGE+DELETE+CONTROL+OPERATOR+ADMINISTRATOR) (IDENTIFIER=[VDD,CDDCDD],ACCESS=READ+WRITE+MODIFY+ERASE+SHOW+DEFINE+ CHANGE+DELETE+CONTROL+OPERATOR+ADMINISTRATOR) (IDENTIFIER=[*,*],ACCESS=READ+WRITE+MODIFY+ERASE+SHOW+OPERATOR+ADMIN) Size: 2277 dictionary_format: CDO format FULL_ADDRESS(1) RECORD Created: 8-MAY-1995 14:09:51.19 Revised: 8-MAY-1995 14:09:51.19 Owner: [VDD,JONES] Access Cntrl List: (IDENTIFIER=[VDD,JONES],ACCESS=READ+WRITE+MODIFY+ ERASE+SHOW+DEFINE+CHANGE+DELETE+CONTROL+OPERATOR+ADMINISTRATOR) (IDENTIFIER=[VDD,CDDCDD],ACCESS=READ+WRITE+MODIFY+ERASE+SHOW+DEFINE+ CHANGE+DELETE+CONTROL+OPERATOR+ADMINISTRATOR) (IDENTIFIER=[*,*],ACCESS=READ+WRITE+MODIFY+ERASE+SHOW+OPERATOR+ ADMIN) Size: 1337 dictionary_format: CDO format . . . In this example, the DIRECTORY command with the /FULL qualifier will display the name, type, parent, and protection information for elements in the REVIEW directory and in any distributed repositories.