Listing process rules

About this task

This subcommand lists the process rules matching the specified criteria. If no options are specified, it lists all process rules.

ccm pr|process_rule|ut|update_temp|update_template|rt|recon_temp|
      reconfigure_template -l|-list [-f|-format format] [-nf|-noformat] 
      ([-ch|-column_header] | [-nch|-nocolumn_header]) 
      [-sep|-separator separator] ([-sby|-sortby sortspec] | 
      [-ns|-nosort|-no_sort]) [-gby|-groupby groupformat] [-u|-unnumbered]
-ch|-column_header
Specifies to use a column header in the output format. See -ch|-column_headers for details.
-f|-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.

-gby|-groupby groupformat
Specifies how to group the command output. See -gby|-groupby for details.
-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 -ns|-nosort for details.
-sep|-separator separator
Used only with the -f|-format option. Specifies a different separator character. See -sep|-separator for details.
-u|-unnumbered
Suppresses automatic numbering of the command's output (that is, the output is un-numbered). See -u|-unnumbered for details.

Examples

About this task

  • List all currently defined process rules.

    ccm process_rule -list

    Collaborative Development
    Insulated Development
    Custom Development
    Shared Development
    Visible Development
    Integration Testing
    System Testing
    1.0:Integration Testing
    1.0:System Testing
    1.0:Insulated Development
    2.0:Integration Testing
    2.0:System Testing
    2.0:Collaborative Development
    2.0:Insulated Development
    Local Collaborative Development
    Local Integration Testing
    Master Integration Testing

  • List the process rules for release 1.0:

    ccm pr -list -rel 1.0

    1) 1.0:Collaborative Development
    2) 1.0:Custom Development
    3) 1.0:Insulated Development
    4) 1.0:Integration Testing
    5) 1.0:Shared Development
    6) 1.0:System Testing
    7) 1.0:Visible Development

  • List the process rules for Integration Testing:

    ccm pr -list -purp "Integration Testing"
    1) 1.0:Integration Testing
    2) Integration Testing
    3) Local Integration Testing
    4) a/1.0:Integration Testing
    5) m/1.0:Integration Testing

  • List the process rules for System Testing and Integration Testing:

    ccm pr -l -rel 1.0 -rel a/1.0 -purpose "System Testing" -purpose "Integration Testing"

    1) 1.0:Integration Testing
    2) 1.0:System Testing
    3) a/1.0:Integration Testing
    4) a/1.0:System Testing


Feedback