View previous topic :: View next topic |
Author |
Message |
kris_madras Beginner
Joined: 07 Apr 2004 Posts: 46 Topics: 29
|
Posted: Tue Jun 01, 2004 4:47 am Post subject: Dataset Concatenation |
|
|
Hi ,
Here is the problem....
A call to proc inside jcl is
Code: |
//S01S EXEC RXHDCDMA,
// MON=02,
// YEAR=04,
// WEEK=1,
// INDEXO1=TST.CTS
|
and DD concatenation is
Code: |
//S05S.SORTIN DD DSN=RXS.COPY.MW201051.M&MON.1&YEAR,DISP=SHR
// DD DSN=RXS.COPY.MW201051.M&MON.2&YEAR,DISP=SHR
// DD DSN=RXS.COPY.MW201051.M&MON.3&YEAR,DISP=SHR
// DD DSN=RXS.COPY.MW201051.M&MON.4&YEAR,DISP=SHR
|
instead of concatenating like this is there any way to put it in a loop (depending on the value of week) to concate that many datasets...?
Thanks
Sai Krishna |
|
Back to top |
|
|
Maton_Man Beginner
Joined: 30 Jan 2004 Posts: 123 Topics: 0
|
Posted: Wed Jun 02, 2004 8:53 pm Post subject: |
|
|
JCL is not a programming language. JCL is not a programming language. JCL is not a programming language. JCL is not a programming language. And just in case you're thinking of asking...JCL is not a programming language. _________________ My opinions are exactly that. |
|
Back to top |
|
|
sriramla Beginner
Joined: 22 Feb 2003 Posts: 74 Topics: 1
|
Posted: Thu Jun 03, 2004 3:29 pm Post subject: |
|
|
You can consider GDG. Giving the base name of GDG without any version number will give all the versions. |
|
Back to top |
|
|
|
|