In a proc i will concatinate 4 dd statements.i want to
overide 3 dd statement through jcl how?
Answer Posted / y@$w@nth
suppose your 4 dd statements inside a proc are as below
//myproc PROC
//STEP01 EXEC PGM=progname
//DD01 DD DSN=userid.base.file1
//DD02 DD DSN=userid.base.file2
//DD03 DD DSN=userid.base.file3
//DD04 DD DSN=userid.base.file4
// PEND
//STEP02 myproc
//STEP01.DD03 DD DSN=userid.base.orfile3
//
STEP01.DD03 DD DSN=userid.base.orfile3 this tells that
override the DD statement which name is DD03 inside a proc
myproc and inside STEP STEP01
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
How can values be passed from the job stream to an executable program?
What do you understand by the terms: joblib and steplib?
What is the maximum length of a single line of jcl?
What is timing concept in mainframe?
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
i want to store 20 digits . how will u do it in cobol ?
How to do automated restart when a job abend?
What dd statement is used to supply the name of a dataset?
how to do automated restart when a job abends?
Is it possible to define dd statements as you want?
what is DSN in JCL and what are the parameters to declare the DSN?
What is multithreading in jcl?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
What is jcl in mainframe, and how many types of jcl statements are there for a job?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?