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.
Answer Posted / 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 View All Answers
What do you understand by jcl?
How to run cobol program using jcl?
In sms datasets, what is the function of the dd mgmtclas keyword?
Explain about LMFREE�free data set from its association with data ID
What does a disposition of (MOD,DELETE,DELETE) mean ?
How can an in-stream dataset be terminated?
What is the function of dd disp parameter?
Mention the types of job control statements?
Explain the function of //jcllib statement?
How can unused space allocation be returned to the system when a dataset is closed?
Explain the function of dd name parameter with a 2 part structure; audit.report?
What is the significance of addrspc parameter in the exec statement?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
Explain the function of the dd dcb keyword?
What is job control language?