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 is the compile process of cobol program expalin with code
what happens in execution stage in job processing?
How to alter the parameters for the existing gdg?
Name the statement which can be used to send data to another mvs jes3 node?
How to do automated restart when a job abend?
Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
How can the disposition of sysout datasets be set for an entire jobstream?
How does jcl specify the job to the operating system?
how to run batch program without jcl?
What is Cataloged Procedures?
How to pass data to a program that is coded in an exec statement?
Where can program checkpoints be stored for use in a restart?
What are s0c1, s0c4, s0c5, s0c7 and socb?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?