| Author |
Message |
vamseepotti
New User
Joined: 21 Oct 2003 Posts: 46
|
|
|
|
| I have question on GDG? GDG has 5 generations and i want to add 5 new generations to existing GDG? How? |
|
| Back to top |
|
 |
References
|
Posted: Tue Feb 17, 2004 7:01 pm Post subject: Re: Generations on GDG |
 |
|
|
 |
bluebird
Specialist
Joined: 03 Feb 2004 Posts: 144
|
|
|
|
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 |
|
 |
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1421
|
|
|
|
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 |
|
 |
kotaravindra
New User
Joined: 19 Feb 2004 Posts: 2
|
|
|
|
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 |
|
 |
|
|
|