Try this code if u want to copy the entire generations contents to one GDG dataset.
For individual copy try copying 1 gdg version to another gdg version.
Code:
Suppose you input GDG datasets have contents like below:
BROWSE SHEKAR.TEST.GDG.G0001V00 Line 00000000 Col 001 080
Command ===> Scroll ===> CSR
********************************* Top of Data **********************************
A 00000100
BROWSE SHEKAR.TEST.GDG.G0002V00 Line 00000000 Col 001 080
Command ===> Scroll ===> CSR
********************************* Top of Data **********************************
B 00000100
BROWSE SHEKAR.TEST.GDG.G0003V00 Line 00000000 Col 001 080
Command ===> Scroll ===> CSR
********************************* Top of Data **********************************
C 00000100
BROWSE SHEKAR.TESTING.GDG.G0001V00 Line 00000000 Col 001 080
Command ===> Scroll ===> CSR
********************************* Top of Data **********************************
C 00000100
B 00000100
A 00000100
BROWSE SHEKAR.TESTING.GDG.G0002V00 Line 00000000 Col 001 080
Command ===> Scroll ===> CSR
********************************* Top of Data **********************************
C 00000100
B 00000100
A 00000100
Hope this helps. _________________ Shekar
Grow Technically
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum