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 

JCL Overriding.

 
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
YSMVS
Beginner


Joined: 19 May 2004
Posts: 51
Topics: 25
Location: My House

PostPosted: Thu Feb 03, 2005 12:51 pm    Post subject: JCL Overriding. Reply with quote

Hi,

My proc is like this

Code:
//PROC1 PROC PARMLIB=,           
//         INPUT1='NULLFILE',                     
//         INPUT2='NULLFILE',                 
//         INPUT3='NULLFILE',                 
//         INPUT4='NULLFILE',

.....
//STEP1 EXEC PGM=PGM1,
//DDNAME  DD  DSN=&INPUT1,DISP=SHR
//         DD  DSN=&INPUT2,DISP=SHR
//         DD  DSN=&INPUT3,DISP=SHR
//         DD  DSN=&INPUT4,DISP=SHR

                   
               


MY JCL is like this, I wanted to override only input 2

Code:

//JS0100  EXEC PROC1,                           
//        INPUT1='MY.DATASET1', 
//*       INPUT2='MY.DATASET2', 
//         INPUT3='MY.DATASET3', 
//         INPUT4='MY.DATASET4', 


When I run this JCL only the data in first file gets processed and those in 3 and 4 are getting ignored , eventhough the datsets are getting overridden correctly. Why is it so ?

Thanks,
YSMVS.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Thu Feb 03, 2005 1:23 pm    Post subject: Reply with quote

Ysmvs,

Check this link for rule for concatenating datasets with dummy/nullfile

NULLFILE Specifies a dummy data set. NULLFILE has the same effect as coding the DD DUMMY parameter.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2B631/12.1.6.7?SHELF=&DT=20030423085347&CASE=

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
YSMVS
Beginner


Joined: 19 May 2004
Posts: 51
Topics: 25
Location: My House

PostPosted: Thu Feb 03, 2005 6:33 pm    Post subject: Reply with quote

Thanks Kolusu.

That was a good learning experience.

regards,
YSMVS
_________________
Thanks,
YSMVS
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