Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search 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
Author Message
vamseepotti

New User


Joined: 21 Oct 2003
Posts: 46

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
References
PostPosted: Tue Feb 17, 2004 7:01 pm    Post subject: Re: Generations on GDG Reply with quote

bluebird

Specialist


Joined: 03 Feb 2004
Posts: 144

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: 1421

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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1