Sometimes there is a need to migrate objects quickly without wanting to create a Migration strategy. Is there a way of doing this?
Release: R19, R20
Component: RCM
This can be done using either option 4 - Quick Migration option from the RC/Migrator Main menu, or the QM command from anywhere within the CA Database Management for Db2 for z/os tools.
This will begin in the "RC/M Quick Migration Services" panel which allows you to specify the objects that you want to migrate as well as the implode/explode options. These objects and options will be included in the QUICKM/QUICKEND section of the analysis JCL.
An example is as follows:
QUICKM
TABLESPACE creator.tsname1
IMPLODE STOGROUP
IMPLODE DATABASE
EXPLODE TABLE
EXPLODE INDEX
EXPLODE VIEW
EXPLODE SYNONYM
EXPLODE TRIGGER
QUICKEND
Once the analysis JCL is generated, it can be updated to change, add or remove the object names being migrated as well as the implode/explode options. For example, the requirement is to migrate another tablespace including its tables and indexes only, the analysis options can be changed within QUICKM/QUICKEND section as follows:
QUICKM
TABLESPACE creator.tsname2
IMPLODE STOGROUP
IMPLODE DATABASE
IMPLODE TABLE
IMPLODE INDEX
QUICKEND
Note: If there are any problems/errors resulting from the modified parameters from the QUICKM/QUICKEND section, it would be recommended that a re-generation of these cards be performed. Doing this would also ensure any changes in the product over time (eg. after an upgrade, or applying maintenance, etc.) will be reflected in the QUICKM/QUICKEND section.
When the Quick Migration analysis is performed, the information entered on the Quick Migration Services and Quick Migration Analysis screens is stored in a default strategy called QUICKM with the description "Quick Migration" and the strategy type Q. Note that this QUICKM strategy cannot be analyzed, templated, or updated, and that there is only one QUICKM strategy for each user.
The analysis output from a Quick Migration can either be a managed output or saved to a PDS.
If you direct the output to a PDS, the dataset member for the analysis is initially set to QUICKnnn on the Quick Migration Analysis screen, but it can be changed.
Migrate Objects Quickly of the CA RC/Migrator for DB2 for z/OS User Guide.
Quick Migration Batch Only Options
Quick Migration JCL Statements
New Quick Migration Batch Only Keywords
See also associated knowledgebase article : Article Id: 190576 Quick Migration Batch Only Options to Explode and Implode objects