In a proc i will concatinate 4 dd statements.i want to
overide 3 dd statement through jcl how?
Answer Posted / premkumar
Since it is concatenated, you can't have DD names as
mentioned in the previous responses. suppose your 4 dd
statements inside a proc are as below
//myproc PROC
//STEP01 EXEC PGM=progname
//DD01 DD DSN=userid.base.file1
// DD DSN=userid.base.file2
// DD DSN=userid.base.file3
// DD DSN=userid.base.file4
//*
Now you can override the 3 dd statements in JCL as
//POCNAME1 myproc
//STEP01.DD01 DD DSN=userid.base.file5
// DD DSN=userid.base.file6
// DD DSN=userid.base.file7
Note: the fourth file has been left as it is because the
questionsis to override only the first 3 statments.
Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
How can a jobs execution priority be modified?
IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C
how JCL works?
Mention the types of job control statements?
What is the purpose of dd?
How does jcl act on a cobol code?
Explain the function of the dd dcb keyword?
Explain how can return codes be tested before execution of a job step?
what is DD statement is used in JCL?
Is their any limit for data sets?
What do you understand by the term notcat 2 – gs?
What is the use of disp parameter?
What are the 2 types of parameters in dd statement?
How can the attributes of one sms dataset be copied to another dataset?
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) ?