Showing relationships to and from an object

About this task

ccm relate -s|-sh|-show [-l] [-fmt|-format format] [-nf|-noformat]
           [-sep|-separator separator] ( [-sby|-sortby sortspec] | 
           [-ns|-nosort|-no_sort] ) [-gby|-groupby groupformat]
           [-n|-name relationship_name] [-f|-from from_object_spec]
           [-t|-to to_object_spec]
-ch|-column_header
Specifies to use a column header in the output format. See -ch|-column_headers for details.
-fmt|-format format
Specifies the command output format. See -f|-format for details.

A keyword can be built-in (%fullname, %displayname, %objectname) or the name of any existing attribute such as %modify_time or %status.

See Built-In keywords for a list of keywords.

-f|-from from_object_spec
Specifies the object from which relationships are listed. You can set the from_object_spec to a single object.
-gby|-groupby groupformat
Specifies how to group the command output. See -gby|-groupby for details.
-l
Specifies that a default long format should be used.
-n|-name
Specifies the name of the relationship to show.
-nch|-nocolumn_header
Specifies not to use a column header in the output format. See -ch|-column_headers for details.
-nf|-noformat
Specifies not to use column alignment. See -nf|-noformat for details.
-ns|-nosort|-no_sort
Specifies that the command's output will not be sorted. See -ns|-nosort for details.
-sby|-sortby sortspec
Specifies how to sort the command output. See -sby|-sortby for details.
-sep|-separator separator
Used only with the -f|-format option. Specifies a different separator character. See -sep|-separator for details.
-s|-show
Show the relationships among the specified objects.
-t|-to to_object_spec
Specifies the object to which relationships are shown. The to_object_spec must be an object_spec; you can set it to a single object.

Description and uses

About this task

The relate command adds a relationship (relation_name) between file_spec1 and file_spec2, or shows the relationship with the specified data.


Feedback