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
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
What is the purpose of dd dummy statement?
Why block size is multiple of lrecl in jcl?
When output dataset space is required, what quantity categories are used?
in ways data can be passed to a COBOL program from JCL?
Where & How Do You Code Identifier In Jcl?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
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
how to compare two datasets without using superce because output is limited to 133 bytes
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
How can a stopped job be started again?
Is it possible to left uncode disp? If yes, how?
Explain the jcl exec statement?
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
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) ?