To set up automatic associations

To specify one or more change requests to associate with a batch of files and avoid displaying the user interface, do the following:

  1. In the context of the process in which you are working, set the environment variable CQCC_AUTO_ASSOCIATE to the associations you want to make.

    Use the same conventions used in the Type In option in the user interface to specify change requests. For example, "SAMPL 1,2,3" identifies change request IDs 1, 2, and 3 in the SAMPL user database.

    The values you specify remain in effect until you unset the option or set it to "". On checkin operations, the integration uses the values that you specify with this option to override associations you made on checkouts. Specify "-" to set the option to select no change requests. If errors occur, the integration displays messages that describe them and starts the user interface for associating change requests.

  2. Start cleartool or ClearCase® Explorer.

If the automatic associations option is enabled at your site, use this environment variable to specify one or more change requests that you want to associate with files on checkout and checkin operations. The integration uses the change requests that you specify rather than prompting you through the user interface. (Clicking ApplyToAll works only for files being versioned in a single checkin or checkout command. This option lets you handle large batches of files in multiple checkin and checkout commands.)

Related tasks
To associate a record and a version

Feedback