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 / 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 |
Can you code instream data in a PROC ?
what is mainframe?
What is the error/SOC code if dd names are not sysut1 and sysut2 in IEBGENER?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
What are the 4 fields in dd statement?
Suppose a proc step has a DD statement like //ABC DD DSN=TEST.FILE1,DISP=SHR DSN=TEST.FILE2,DISP=SHR and the above DD name is overridden from the JCL as given below //procstepname.ABC DD DSN=TEST.FILE3 - Will the DD statement now have just TEST.FILE3 or it will be TEST.FILE3 and TEST.FILE2? Suppose if it is overridden twice like //procstepname.ABC DD DSN=TEST.FILE3 //procstepname.ABC DD DSN=TEST.FILE4 Will this give a JCL error? If not, what will be final output?
what are the various stages of job processing?
i need some shortcuts and tso commands can any on ehelp me in these ?
how do you resolve for soc7 error
How can a jobs execution priority be modified?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
when we use sysprint and sysout statements