Showing relationships to and from an object

You can show relationships from an object to one or more destination objects, or from specified objects to a single destination object.

About this task

ccm relate -s|-sh|-show [-n|-name relationship_name]
           [(-f|-from from_object_spec)...]
           [(-t|-to to_object_spec)...]
           ([-l] [-fmt|-format format]) [-nf|-noformat]
           [-sep|-separator separator] | 
           ([-ch|-column_header] | [-nch|-nocolumn_header])
           ([-sby|-sortby sortspec] | 
           [-ns|-nosort|-no_sort]) [-gby|-groupby groupformat]
-ch|-column_header
Specifies to use a column header in the output format. See -ch|-column_header 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 originating object or objects from which the relationship is shown. If not specified, relationships from any origin object are shown. You must specify either -from or -to.
-gby|-groupby groupformat
Specifies how to group the command output. See -gby|-groupby for details.
-l
Specifies to use the default long format.
-n|-name
Specifies the name of the relationship to show. If not specified, shows the names of all relationships.
-nch|-nocolumn_header
Specifies not to use a column header in the output format. See -nch|-nocolumn_header for details.
-nf|-noformat
Specifies not to use column alignment. See -nf|-noformat for details.
-ns|-nosort|-no_sort
Specifies not to sort the command output. 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 destination object or objects to which the relationship is shown. If not specified, relationships to any object are shown. You must specify either -from or -to.

Example


Feedback