Creating a task ID
You can create a task ID. Creating a task ID is the first step in using the CM/PILOT component for performing
BMC AMI Change Manager for Db2
processes. All work in CM/PILOT is accomplished by processing a task ID.
- On the BMC AMI Change Manager for Db2 Main Menu, select CM/PILOT, and press Enter.
- On the CM/PILOT Main Menu , select TASKIDs and press Enter.
- On the TASKID Action Menu , type a name for the new TASKID and select Create a TASKID. Then, press Enter.
- On the Script Selection List, select a script and press Enter.
On the Create TASKID panel, CM/PILOT uses the name of the task ID as the name for a new work ID. You can type a different name for WORKID or type the name of a work ID name template.
The following table lists the available CM/PILOT scripts, the type of work ID that each script requires, and whether that work ID must be a new work ID or an existing work ID.
Script name
Work ID type
New or existing work ID
CMP_STRUCTURE_CHG
Alter-type
New
DML_STRUCTURE_CHG
Alter-type
New
DML_MIGRATE
Migrate-type
New
WKID_STRUCTURE_CHG
Alter-type
Existing
WKID_MIGRATE
Migrate-type
Existing
REC_CHG_SS
Alter-type
New
REC_CHG_SR_BL
Alter-type
New
REC_DDL
Alter-type
New
CREATE_FULL_RCV_BL
Alter-type
New
RCV_STRUC_CUR_DATA
Alter-type
New
RCV_STRUC_OLD_DATA
Alter-type
New
REPLICATE_WORKID
Alter-type
New
When you specify a name for a new work ID, you can use a name template. The template characters are resolved when the worklist is processed and the work ID is created. The template characters are ####, @@@@@@, and @@@@@@@@.
- The #### characters are replaced by an ascending sequence of numbers. For example, if you specify MJF.DDL#### for a new work ID, MJF.DDL0001 is created. If MJF.DDL0001 already exists, MJF.DDL0002 is created.
- The @@@@@@ and @@@@@@@@ characters are replaced by the current date. For example, if you specify MJF.DDL@@@@@@@@ for a new work ID, MJF.DDL20000428 is created. If MJF.DDL20000428 already exists, an error is issued when the CM/PILOT worklist is processed. The format of @@@@@@ is the date MMDDYY. The format of @@@@@@@@ is the date MMDDYYYY.
The use of name templates has the following restrictions:
- Work ID names must begin with a letter. You can specify name template characters anytime after the first letter of a work ID name.
One group of the same template characters in a work ID must be used. For example, do not create a new work ID of MJF.DDL####TEST####. You can specify two different groups of template characters in a work ID. For example, you can specify a new work ID of MJF.DDL####TEST@@@@@@@@ that can resolve to a work ID such as MJF.DDL0001TEST04282000.
- For task IDs that require existing work IDs, you must have created those work IDs with Change Manager and used the Change Manager Specification component to select the data structures to change or migrate. You can use a wildcard pattern to create a list of existing Work IDs from which to select.
(Optional) Type the name of a CM/PILOT Application. An application groups a set of Change Manager profiles. For more information about applications, see Using-applications.
- (Optional) Specify a Comment to describe the task ID.
- If you are creating a task ID that uses Data Manipulation Language (DML), type S to select Create or Edit DML. For more information, see Migrating-data-structures-by-using-DML or Changing-data-structures-by-using-DML.
- Press END.The task ID is created and the TASKID Action Menu is displayed.
Related topic