Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Generations on GDG

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Generations on GDG
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    Post subject:
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    Post subject:
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    Post subject: Do u want to alter the gdg
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Compare each GDG Generations to other... Ayyappa1 JCL & VSAM 13 Tue Jun 28, 2016 1:48 pm
No new posts Editing "member generations"... Ricardo Viegas TSO/ISPF 1 Tue Dec 29, 2015 7:27 pm
No new posts Read all GDG generations, execept las... knobi JCL & VSAM 5 Fri Dec 12, 2014 12:52 am
No new posts Create dynamic gdg generations based ... Aditya Prakash Joshi DFSORT/ICETOOL 12 Tue May 20, 2014 8:13 am
No new posts Copy all the generations of GDG1 to a... Minaxi Singh JCL & VSAM 9 Mon Oct 14, 2013 9:05 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us