To find and set activities using the setactivity command

About this task

Procedure

  1. Enter the lsactivity -cview command from your development view.
    For example:
    
    % cleartool lsactivity -cview
    
    05-Aug-00.09:14:17  set_up_directories  pat "set up directories"
    

    In the example output above, the second field, set_up_directories, is the activity-selector.

  2. Enter the following command:
    cleartool setactivity activity-selector

    For example:

    
    % cleartool setactivity set_up_directories
    

Results

When executed in a view that is associated with a project enabled for Rational® ClearQuest®, the setactivity command takes an activity-selector that is a Rational ClearQuest user database record ID of an existing Rational ClearQuest record. For example:
cleartool setactivity SAMPL123456 

For more information, see the setactivity reference page in the DevOps Code ClearCase Command Reference.