Hi,
Could any body help me in copying a gdg base to other gdg base.
Printable View
Hi,
Could any body help me in copying a gdg base to other gdg base.
can use IDCAMS utility
with option MODEL in sysin card of the base GDG.
You can create a GDG by simply using Fil-aid option, use creat gdg base option keeping the source gdg as model.
u can use option P.3.2 in ispf panel to create the gdg
it will just create the GDG base similar to the model GDG base.. later how to copy the different generations to the other.
You can copy the different version by simple 3.3 option with the desired version of GDG. The naming is the one which ties with the base GDG. For ex. USER.GDG.G00001 will automatically goes under the base GDG USER.GDG.
It is not possible to copy GDG base simply by using fileaid option 3.3
GDG base can be created by using the Fileaid option 3.2 by using model GDG base.
Or, if Fileaid option is not available then we can create GDG base by using the below JCL by using IBM utility IDCAMS
//IDCAMDF EXEC PGM=IDCAMS,
// COND=(0,NE)
//IAMPRINT DD SYSOUT=*
//IAMINFO DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DEFINE GDG -
( NAME(DGBVPBA.UTTAM.GDG) -
LIMIT (5) -
NOEMPTY -
SCRATCH)
/*