This is article 3 of a 3-part series on using the Datacom VSAM Migration Tool. In this blog, we discuss the implementation process.
After Applying PTFs and performing the full planning functions, you are now ready to start implementing.
CXXMAINT OPTION=ALTER,OPTION2=Y_VSAM
B15DDCXX - Datacom System files
B15DDOUT - DD statements to support job step
B15STLIB - Datacom CUSLIB and Target libraries (All VSAM type processes require all STEPLIB libraries be APF authorized)
JC |
Job Card LG (Legacy process – performs the Backup and Load. Meaning that the DBID needs to be closed. |
LGNEW |
Legacy New template – with a closed database it allocates the VSAM LDS with a New name other than the one that’s currently in the CXX |
LGOLD |
Legacy Old template – It retains the same name as in the CXX for the VSAM LDS being created MT (Modern Tools) utilizes the 24X7 utilities for the Process. Meaning that it performs the Migration while the Environment (the DBID being migrated) is up and available to the application |
MTNEW |
Modern Tools New template - Creates a new VSAM LDS, other than the name that’s on the CXX |
MTOLD |
Modern Tools Old template - maintains the old naming convention originally in the CXX |
MTPRE |
Pre-Init process allocates all of the VSAM LDS files |
VSMCUS01 |
Same as member that originally created these files |
VSMMGRT |
Submission of this job will generate the members that are to be submitted to perform the above described functions utilizing the template required as input. |
MIGRATE TYPE=EXCPVSAM,OPTION1=MTNEW,DBID=?????? |
This control card with the MTNEW template (already modified) modern tool which will run a 24X7 function (Online Area Move) and will execute while the databases are open to the user applications. The execution of VSMMGRT with the above parameter will generate two jobs in the VSAM.MIGRJCL1.OUTPUT library. M????N - This job must be executed after job M????NP M????NP - The pre-Init to allocate the VSAM LDS files (Must be executed before the M????N job) ???? - Is the DBID containing the Areas to be migrated |
MIGRATE TYPE=EXCPVSAM,OPTION1=LGNEW,DBID=?????? |
This control card with the LGNEW template (already modified) Legacy New executes only with the bases closed. No one other than the job can run up against it. It will generate tone job in the VSAM.MIGRJCL1.OUTPUT library. L????N - This job will perform a Backup and Reload ???? - Is the DBID containing the Areas to be migrated |
Pros vs Cons:
The following scenario is specifically for environments that will not be able shutdown their bases to perform the migration but instead will need to use our 24X7 utilities which will make it possible for the migration to be executed while the bases are open, and the applications are available to the user community.
If you have Data Areas that are not 4k or a multiple of thereof and will need to use the 24X7 function OAM (Online Area Move).
Then you will need to convert your areas to 4k or a multiple of prior to executing the 24X7 function OAM (Online Area Move).
As mentioned in the first paragraph of this writing that Pros far outweighs the Cons. Specifically when most or all the Block sizes in your Data Areas are blocked at 4k or multiple of not to exceed 28k. This is a VSAM LDS requirement.
This is the third and final article in the Datacom VSAM Migration Tool Series. If you have not read the first two, please click here to read the Introduction article.
Comments