Creating a receive-type work ID
When you migrate data only or data structures and data to a different subsystem, you must use a receive-type work ID on the receiving subsystem to execute phase 2 of the worklist.
Phase 2 of the worklist creates the data structures and loads any migrated data. You can create a receive-type work ID by using any of the following methods:
- Creating the work ID in the Front End before executing the worklist.
- Building the JCL manually in batch mode by using the NEWWORKID or REPLACEWORKID keyword in the AEXIN input stream.
This task requires an existing migrate-type worklist.
To create a receive-type work ID in the Front End
- On the BMC AMI Change Manager for Db2 Main Menu, select WORKID, and press Enter.
- On the WORKID Action Menu, type the name of the migrate-type work ID that you used to generate the migrate-type worklist and select Create a new WORKID. Then, press Enter.
On the Create WORKID pane, specify the information for the work ID.
- Select Receive for the Type.
- (Optional) Specify a Comment to describe the work ID.
- Press Enter.
The WORKID Action Menu is displayed.
To create a receive-type work ID in batch
You can create a receive-type work ID in batch by editing the JCL outside of ALTER or BMC AMI Change Manager for Db2.
- In ISPF, edit the Execution JCL.
Insert the NEWWORKID a.b ( a.b is the new work ID that you want to create) keyword into the AEXIN data input stream, as shown below The work ID must not currently exist.
//AEXIN DD *
ACM
SSID DEBA NEWWORKID RDAMAF.REC
To re-create an existing receive-type work ID in batch
You can receive a migrate-type worklist from a remote location to re-create the existing receive-type work ID by editing the JCL outside of ALTER or Change Manager.
- In ISPF, edit the Execution JCL.
Insert the REPLACEWORKID a.b (where a.b is the name of the existing work ID that you want to replace) keyword into the AEXIN data input stream, as shown below.
//AEXIN DD *
ACM
SSID DEBA REPLACEWORKID RDAMAF.RECWhen the job is run, the receive-type work ID is replaced.
Where to go from here
After you create the receive-type work ID, select Execute WORKID worklist created by Analysis to execute the worklist.