I have a jcl which is using 2 data sets i want to override those data sets. how can i override the files within the JCL. Give me the syntax. Make sure that it is not calling any Proc.



I have a jcl which is using 2 data sets i want to override those data sets. how can i override the f..

Answer / indira

Hi... Make sure your que is correct
Acc to what I understood from ur que u want to give the override of the 2 dataset in the same jcl itself...if this is the case then make use of symbolic parameter.
In the jcl above before executing the steps use SET parameter to give the name for the override dataset.
For eg -
//SET1 SET HLQ1 = High1
// HLQ2 = High2
....
//DD1 DD DSN= &HLQ1.DS
//DD2 DD DSN =&HLQ2.DS

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JCL Interview Questions

I have a JCL with 100 steps. I want run the Alternate steps in the JCL ( Like 2 ,4,6,8 etc.. ). How can I acheive this scenario? If It is by Cond Parameter can you provide the Condition code for that?

5 Answers   Polaris, Tech Mahindra, UST, Wipro,


What is dummy parameter in JCL??

3 Answers   TCS,


how can you check if a file is empty using jcl?

0 Answers   IBM,


What is the meaning of the EXEC statement keyword, COND? What is its syntax?

2 Answers  


what does mvs stand for?

1 Answers   IBM,






Are there any set of rules for the names of the steps used in a job? What are they?

0 Answers  


Suppose I have 5 dataset listed under a single DD name in a catlogued PROC. How can I override one of those 5 dataset (say 3rd dataset)?

5 Answers   Cognizant,


What is the purpose of the dd keylen parameter?

0 Answers  


List some valid operation codes in JCL

3 Answers  


How is a new GDG coded?

2 Answers  


How do you designate a comment in JCL?

1 Answers  


When a dataset is UNCATALOGED in a JOBSTEP, how to get its UNIT and VOL in JCL to refer in subsequent steps ?

1 Answers   IBM,


Categories