Built-In keywords

These keywords are built into Rational Synergy. You can use these keywords to control the format of the output from query, list, and show operations on the command line, and query operations in the GUI.

Note: You also can use attribute names as keywords. To list the attributes that are associated with an object, use the ccm attr command with the -list option.
Keyword
Description
%baseline
Returns a baseline project for a project. Returns <No baseline> if no baseline exists.
%change_request
Displays one or more change requests that are associated with the object. For a file, these change requests are determined based on the associated tasks and the change requests that are associated with those tasks.
%change_request_duplicates
Returns a list of a duplicate change requests for a change request.
%change_request_original
For a change request in the duplicate state, returns the original change request of which it is a duplicate.
%change_request_release
Displays the release property of change requests that are associated with the object.
%change_request_status
Displays the status of one or more change requests that are associated with the object.
%change_request_synopsis
Displays the synopsis of one or more change requests that are associated with the object.
%displayname
Defaults to name-version for files, directories, and projects.
%fullname
Returns the four-part name in subsystem/cvtype/name/version format.
%has_relationship
Displays those objects that have a relationship from the object in the query.
%in_baseline
Returns the displayname of a baseline for a project, if the project is in a baseline.
%in_build
Returns the build number of the baseline for projects that are members of a baseline, if the project is in a baseline.
%instance
Alias for the %subsystem part of the object name.
%is_relationship_of
Displays those objects that have a relationship to the object in the query.
%model
Returns the %fullname of the current model object.
%objectname
Returns object name in name-version:cvtype:subsystem format.
%problem_duplicates
Returns a list of a duplicate problems for a problem.
%problem_original
For a problem in the duplicate state, returns the original problem of which it is a duplicate.
%purpose
Displays a project purpose.
%requirement_id
Displays the requirement ID saved on the change requests that are associated with the associated tasks for a task or object.
%root
Returns the <no_root> string if the object is not a root directory, and the %fullname project if it is a root directory.
%sourcename
Defaults to the name of the object.
%states
Returns legal object states separated by spaces.
%task
Returns a comma-separated list of task numbers associated with this object. Returns <void> if no associated tasks exist.
%task_platform
Returns a comma-separated list of platform values of the tasks associated with this object. Returns <void> if no associated tasks exist.
%task_release
Returns a comma-separated list of release values of the tasks associated with this object. Returns <void> if no associated tasks exist.
%task_status
Returns a comma-separated list of task statuses associated with this object. Returns <void> if no associated tasks exist.
%task_subsystem
Returns a comma-separated list of subsystems (task_subsys) values of the tasks associated with this object. Returns <void> if no associated tasks exist.
%task_synopsis
If the object is a task, returns the task_synopsis attribute. Otherwise, returns a semi-colon-separated list of task_synopses for the tasks associated with this object, or <void> if no tasks are associated.
%type
Returns the type of the object (stored in the cvtype attribute).

Feedback