This was the question which goes like this, what is the difference between the refer-back & overriding parameters? Are not they serving the same purpose? How are they coded in a JCL?
I have answered it like... when we use refer-back, we actually refer back to an earlier DD statement in the job or in cataloged or in in-stream procedure called by a job step.
Code: Select all
//MYJOB JOB ..
//STEP1 EXEC ..
//DD1 DD DSN=REPORT ...
//DD4 DD DSN=*.DD1
For Over riding, for a JCL in in-stream or Cataloged procedures, the DD names mentioned in the JCL will override the
ones in the procedures.
But I was not able to answer of they behave just the same, do they? Please help.