Format SHOW USES [ qualifier ] ... element-name ,...
1 – Parameters
1.1 – element-name
Specifies the element whose owners you are displaying.
2 – Qualifiers
2.1 /TYPE
Format option: /TYPE=[ ( type-name ) ] ,... Displays only owners of the type you specify. This type must be the keyword RECORD or FIELD or a type name that is valid for this command. Valid types include instances of ELEMENT_TYPE or RELATIONSHIP_TYPE; they do not include instances of PROPERTY_TYPE.
2.2 /BRIEF_(default)
Displays the name, type, and relationship type of immediate owners. /BRIEF is the default qualifier.
2.3 /FULL
Displays the name, type, and relationship type of all owners.
3 – Description
The SHOW USES command displays the owners of the element you specify. The display includes the properties of owners and the values associated with these properties. The SHOW USES command lists owners if they have either directory names or processing names. CDO looks first for the directory name and displays it if one exists. If a directory name does not exist, CDO then looks for and displays the processing name. An element can only exist in the repository without a directory or processing name if it has a relationship to an owner with a directory name. CDO displays a name unspecified message in this case. You can use the SHOW USES command to display the names of elements that receive new version messages if you create a new version of the element you specify.
4 – Examples
1.CDO> SHOW USES EMPLOYEE_DB In this example, because no qualifier is specified, the SHOW USES command displays the default information (/BRIEF). This information includes the names of immediate owners of the EMPLOYEE_DB database element. 2.CDO> SHOW USES /FULL FIELD_A(2) In this example, the SHOW USES command with the /FULL qualifier displays all owners of the FIELD_A(2) field element. 3.CDO> SHOW USES /FULL /TYPE=(RECORD) EMPLOYEE_NAME In this example, the SHOW USES command with the /FULL and /TYPE qualifiers displays all owners of EMPLOYEE_NAME that are records.