How to set a Global var at the start of a job, then change the value of the VAR at the end of the job.
|call $PVAR &varname=ACTIVE
then later
|call $PVAR &varname=INACTIVE
The var is set to INACTIVE before the job runs.
Release: 5.1
Component: FAQS-Automated Systems Operation
PCL does evaluate VARs at job submission time, so when the job runs, the last value for the Global Var will be used.
Use ECL (execution control language) in this case.
// SET GVAR varname 'value'