View previous topic :: View next topic |
Author |
Message |
hisabarish Beginner
Joined: 21 Jun 2005 Posts: 38 Topics: 11
|
Posted: Mon Jun 27, 2005 9:18 am Post subject: How to Concate the GDG last 3 versions. |
|
|
I have a GDG with 5 Generation. Now i want to Concatenate Last 3 Genreation only. How do i concat the last 3 generation. _________________ Sabari
Madras |
|
Back to top |
|
|
superk Advanced
Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Mon Jun 27, 2005 9:24 am Post subject: |
|
|
As an example:
Code: |
//STEPXXXX EXEC PGM=IEBGENER
//SYSUT1 DD DISP=SHR,DSN=MY.GDG(-2)
// DD DISP=SHR,DSN=MY.GDG(-1)
// DD DISP=SHR,DSN=MY.GDG(0)
//SYSUT2 DD DSN=NEW.CONCAT.DSN,DISP=(,CATLG,DELETE),
// UNIT=......
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
|
|
|
Back to top |
|
|
hisabarish Beginner
Joined: 21 Jun 2005 Posts: 38 Topics: 11
|
Posted: Tue Jun 28, 2005 2:30 am Post subject: Why it is not accepting thru REPRO Command. |
|
|
Thankx super,
It is working, Okay why it is not accepting thru Repro command.
ie.,
//sysin dd *
Repro -
Indataset(MY.GDG(-2))-
Outdataset(NEW.CONCAT)
/*
Pls. revert me.. _________________ Sabari
Madras |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12372 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
|
|