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
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?
What is the function of the dd dcb keyword?
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) ?
write a jcl to execute a job by 7:00 am on jan 20,1986?
what happens in execution stage in job processing?
What is the function of dd disp parameter?
What do you understand by the term notcat 2 – gs?
what is the difference between JES3 and JES2?
How do you overcome this limitation ?
what is the use of JCL?
In sms datasets, what is the function of the dd mgmtclas keyword?
Name what parameter directs the output of the job log dataset?
How can unused space allocation be returned to the system when a dataset is closed?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
define cond parameter in jcl?