Overriding Datasets & Parameters IQ for Experienced


What is the significance of overriding parameters?

Overriding parameters is a technique that allows us to replace the coded parameter values temporarily. This technique is mainly used to replace the parameter values coded in the PROC from the calling JCL. This way, we can modify all parameter values without changing the actual PROC.

How many ways we can override the parameters?

Overriding parameter can be done in 3 ways - Replacing existing parameter, Adding new parameter and Nullify existing parameters.

How to replace the parameters of the PROC in JCL?

By passing symbolic parameter (which is coded in PROC) new value from JCL at the time of calling PROC.

How to add new parameter to the PROC in JCL?

By passing the symbolic parameter (which is not coded in PROC) new value from JCL while calling the PROC.

How to nullify the existing parameter of coded of PROC in JCL?

By passing the symbolic parameter (which is not coded in PROC) value as empty from JCL while calling the PROC.

There is a concatenated input DD name with 3 datasets. How to override only one dataset in those 3 datasets?

Specify DD DUMMY in the overriding JCL for the ones, which are not overridden.

//STEP1.INPUT DD DUMMY // DD DUMMY // DD DSN=MTH.DATA.INP3,DISP=SHR

A PROC has five steps. Step 3 has a condition code. How can you override/nullify this condition code?

Pass STEP3.COND=

How do you override a specific DDNAME/SYSIN in PROC from a JCL?

//STEP1.INPUT DD DSN=MTH.DATA.INP3,DISP=SHR