When doing a migration strategy that includes the DDL for a database, it is necessary to save the DDL to a GDG dataset.
This process can be accomplished in a few steps:
- Create the Base line GDG.
- Create the Migration strategy that will produce the DDL at the Database level.
- Analyze the migration strategy in Batch mode and write the JCL to a PDS member.
- Edit the JCL to include the GDG dataset:
//DDLFILE DD DISP=(NEW,CATLG,DELETE),SPACE=(CYL,(5,10),RLSE),// DCB=(LRECL=080,BLKSIZE=26800,RECFM=FB),// DSN=gdg dataset name(+1) <======== replace with GDG name
- Submit the strategy,