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 stopped job be started again?
What is the function of dd disp parameter?
what happens in execution stage in job processing?
What is Cataloged Procedures?
Can I share my data with other jobs? How?
Name what parameter directs the output of the job log dataset?
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
What is the function of a dd statement?
What is the significance of addrspc parameter in the exec statement?
what JCL Procedures?
How would you understand error(execution phase)?
when can a job time-out occur? How to overcome that?
Brief description of inline procedure of jcl.
What is the function of //jcllib statement?
How do you overcome this limitation ?