IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Generations on GDG


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vamseepotti

New User


Joined: 21 Oct 2003
Posts: 45

PostPosted: Tue Feb 17, 2004 7:01 pm
Reply with quote

I have question on GDG? GDG has 5 generations and i want to add 5 new generations to existing GDG? How?
Back to top
View user's profile Send private message
bluebird

Active User


Joined: 03 Feb 2004
Posts: 127

PostPosted: Tue Feb 17, 2004 8:23 pm
Reply with quote

use pgm iefbr14 :
Code:

//step00 exec pgm=iefbr14
//allo      DD DISP=(NEW,CATLG),DSN=&SYSUID..REPORT.SWEU.BEFINJ(+1),
//            DCB=(BLKSIZE=27920,RECFM=FB,LRECL=80),               
//            UNIT=SYSDA,SPACE=(TRK,(00099,00099),RLSE)     
//allo01      DD DISP=(NEW,CATLG),DSN=&SYSUID..REPORT.SWEU.BEFINJ(+2),
//            DCB=(BLKSIZE=27920,RECFM=FB,LRECL=80),               
//            UNIT=SYSDA,SPACE=(TRK,(00099,00099),RLSE)       

//allo02      DD DISP=(NEW,CATLG),DSN=&SYSUID..REPORT.SWEU.BEFINJ(+3),
//            DCB=(BLKSIZE=27920,RECFM=FB,LRECL=80),               
//            UNIT=SYSDA,SPACE=(TRK,(00099,00099),RLSE)
//allo03      DD DISP=(NEW,CATLG),DSN=&SYSUID..REPORT.SWEU.BEFINJ(+4),
//            DCB=(BLKSIZE=27920,RECFM=FB,LRECL=80),               
//            UNIT=SYSDA,SPACE=(TRK,(00099,00099),RLSE)
//allo04      DD DISP=(NEW,CATLG),DSN=&SYSUID..REPORT.SWEU.BEFINJ(+5),
//            DCB=(BLKSIZE=27920,RECFM=FB,LRECL=80),               
//            UNIT=SYSDA,SPACE=(TRK,(00099,00099),RLSE)

Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Wed Feb 18, 2004 12:49 am
Reply with quote

Hi Vam,

Do you really want to add 5 empty datasets to the GDG? There are legitimate reasons for doing it, but is that what you were asking?

If you do, you may want to keep this in mind:

1) Don't attempt to read any of the new ds. An abend can result.

2) Depending on the LIMIT used to create the GDG you may "roll off" previously created ds by creating the new gens. And again depending on the options chosen when the GDG was created, they may be deleted.

Regards, Jack.
Back to top
View user's profile Send private message
kotaravindra

New User


Joined: 19 Feb 2004
Posts: 2

PostPosted: Fri Feb 20, 2004 11:51 am
Reply with quote

if u want to add the new generations after the completion of 5 generations.U need to alter the GDG. so that u can increase the LIMIT parameter.

thanks
ravi
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare each GDG Generations to other... JCL & VSAM 13
No new posts Editing "member generations"... TSO/ISPF 1
No new posts Read all GDG generations, execept las... JCL & VSAM 5
No new posts Create dynamic gdg generations based ... DFSORT/ICETOOL 12
No new posts Copy all the generations of GDG1 to a... JCL & VSAM 9
Search our Forums:

Back to Top