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 |
why jobstep can't be more than 255 and for GDG has max limit 255 . Is there any relation between the two
What is condition checking in jcl? Is this possible?
what happens when time=0 is given in jcl code. what happens when blksize=0 is given in jcl code. what is symbolic and overriding parameters and a example program.
How many types of parameters are used in JCL and what are mandatory parameters of JOB statement.
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
what is A-MODE and R-MODE?
. What is the difference between the following statements : I) step#1 exec PGM=accpay ii) step#1 exec tbalance
How to print data of sequential file to Spool..?
How can I write the joblog in the spool on normal end of a job step and direct the joblog to a dataset only if the step abends?
How can u know the current date using jcl?
When will we need to specify Space parameter ?
How does the jcl specify the job to os?