MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Dataset Concatenation

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
kris_madras
Beginner


Joined: 07 Apr 2004
Posts: 46
Topics: 29

PostPosted: Tue Jun 01, 2004 4:47 am    Post subject: Dataset Concatenation Reply with quote

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
View user's profile Send private message
Maton_Man
Beginner


Joined: 30 Jan 2004
Posts: 123
Topics: 0

PostPosted: Wed Jun 02, 2004 8:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
sriramla
Beginner


Joined: 22 Feb 2003
Posts: 74
Topics: 1

PostPosted: Thu Jun 03, 2004 3:29 pm    Post subject: Reply with quote

You can consider GDG. Giving the base name of GDG without any version number will give all the versions.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group