How can we Concatenate different generations of GDG



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Re: How can we Concatenate different generations of GDG

Postby maxcc » Sat Aug 14, 2010 1:18 am

Thanks Smita. I tried and it is working fine..
maxcc
 
Posts: 28
Joined: Fri Apr 30, 2010 12:50 pm
Has thanked: 0 time
Been thanked: 0 time

Re: How can we Concatenate different generations of GDG

Postby NicC » Sat Aug 14, 2010 10:03 am

If you need to copy all catalogued versions of a gdg then only specify the gdg base name...

//SYSUT1    DD DSN=HLI.MLG.NAME,DSIP=SHR


This will pick up whichever generations are listed in the catalog e.g G0033V00,G0034V00 etc
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: How can we Concatenate different generations of GDG

Postby dick scherrer » Sat Aug 14, 2010 10:20 am

Hello,

If the order of the data is not important this can save some DD statements.

If the order of the data is important, suggest a simple test to make sure the data is read in the order needed. . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Previous

Return to JCL

 


  • Related topics
    Replies
    Views
    Last post