Configuring the agent to run variable substitution
To be able to run this type of variable substitution, you must configure some keywords of the TWSOPTS statement.
To be able to run this type of variable substitution,
take one of the following actions:
- Set the VARSUB keyword of the TWSOPTS statement to YES. This means that variable substitution occurs from the beginning of the JCL for all the jobs defined to run on the agent for z/OS.
- Set the VARSUB keyword of the TWSOPTS statement to SCAN and specify the directive //*%OPC SCAN in your job. Substitution in the job starts where the SCAN directive is found.
If you want to bypass variable substitution errors, then set the VARFAIL keyword. If you want to apply variable substitution also to inline procedures, then use the VARPROC statement. See the TWSOPTS configuration statement for details.