Information
Limited support BMC provides limited support for this version of the product. As a result, BMC no longer accepts comments in this space. If you encounter problems with the product version or the space, contact BMC Support.BMC recommends upgrading to the latest version of the product. To see documentation for that version, see BMC AMI Catalog Manager for Db2 13.1.

Db2 command profiles


A Db2 command profile is a file that contains customized specifications for the syntax of a Db2 command.

Using a Db2 command profile saves you time and helps avoid user errors because you avoid having to specify the syntax each time that you generate the syntax and execute a command.

When you save command syntax to a Db2 command profile by using the PROFILE command, Catalog Manager assigns a profile ID, and stores the ID, the Db2 command keywords, and the keyword values in a utility profile. (For more information about utility profiles, see Managing-utility-profiles.)

The following figure shows the syntax of the PROFILE command:

 PROFILE [SAVE | SAVEAS ProfileID | SET ProfileID]

Command options

Option

Description

SAVEAS profileID

Saves the profile to a specific profile

You can use a maximum of 64 characters, including spaces, in the profile ID. The characters <, >, ?, and are not permitted.

SET profileID

Establishes a profile

Using the PROFILE SET command to establish a profile will reset your current profile to the values defined in the profile.

SAVE

Saves the Db2 command profile

After you establish a Db2 command profile with the PROFILE SET command, you can issue the PROFILE SAVE command to save the profile.

The following figure shows an example of the RDACRJSTARTDB DB2 command profile in a utility profile:

<!--?xml version='1.0'?-->
<profiles>

<profiles>
 <timestamp>12/12/04 16:37</timestamp>
 <updated_by>RDACRJ</updated_by>

  <profile>
    <process>COPY</process>
    <utility_id>COPYDEFAULT</utility_id>
    <full> </full>
    <clone>N</clone>
    <shr_level> </shr_level>
    <scope> </scope>
    <concurrent>N</concurrent>
    <filter_ddn>N</filter_ddn>
    <change_limit_lower> </change_limit_lower>
    <change_limit_upper> </change_limit_upper>
    <report_only>N</report_only>
    <parallel> </parallel>
    <tapeunits> </tapeunits>
    <check_page>N</check_page>
    <systempages> </systempages>
    <copydd1>Y</copydd1>
    <copydd2>N</copydd2>
    <recvdd1>N</recvdd1>
    <recvdd2>N</recvdd2>
    <template_copyddn1> </template_copyddn1>
    <template_copyddn2> </template_copyddn2>
    <template_recvddn1> </template_recvddn1>
    <template_recvddn2> </template_recvddn2>
    <template_filterddn> </template_filterddn>
    <profile_id>DEFAULT</profile_id>
  </profile>

  <profile>
    <process>DB2C_START_DB</process>
    <clone>N</clone>
    <access>RW</access>
    <extra> </extra>
    <profile_id>RDACRJSTARTDB</profile_id>
  </profile>
</profiles>

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Catalog Manager for Db2 12.1