Suppressing variable substitution

You can specify that variable substitution should be suppressed in jobs that would normally be eligible for variable substitution, using the statement //*%OPC BEGIN ACTION=NOSCAN in your job. Any lines after this statement will not be eligible for variable substitution. If you want to turn variable substitution on again, you can do so using the //*%OPC END ACTION=NOSCAN statement. For example, in the following job, HCL Workload Automation for Z would substitute DS1, would leave DS2 and DS3 as they were, and would substitute DS4.
//DD1     DD DSN=MY.&DS1,DISP=SHR
//*%OPC BEGIN ACTION=NOSCAN
//DD2     DD DSN=MY.&DS2,DISP=SHR
//DD3     DD DSN=MY.%DS3,DISP=SHR
//*%OPC END ACTION=NOSCAN
//DD4     DD DSN=MY.&DS4,DISP=SHR
//DD1     DD DSN=MY.&DS1,DISP=SHR
//*%OPC BEGIN ACTION=NOSCAN
//DD2     DD DSN=MY.&DS2,DISP=SHR
//DD3     DD DSN=MY.%DS3,DISP=SHR
//*%OPC END ACTION=NOSCAN
//DD4     DD DSN=MY.&DS4,DISP=SHR

A //*%OPC BEGIN ACTION=NOSCAN statement must have an associated //*%OPC END ACTION=NOSCAN statement, or an error will result. See JCL tailoring directives for a complete explanation of the directives.