Referback IQ for Freshers


What is the significance of referback in JCL?

The referback (backward reference) is used to get the information from the previous steps to the current step. This process reduces redundant coding and syntax errors. "*" is used as a referback operator.

How to refer the ddname of previous step?

*.ddname

How to refer the ddname from specific step?

*.stepname.ddname

How to refer the ddname from proc name if it has one step?

*.proc-stepname.ddname

How to refer the ddname from step name of proc name?

*.proc-JCLstepname.proc-stepname.ddname