UPD

The UPD instruction changes the default value of a user variable in a variable table of the scheduler. The new default value can be used by jobs in an application occurrence that use that variable. The variable table must be identified by the INIT instruction.

Syntax

UPD variable

The UPD instruction uses the EQQPIFT program, which is supplied with IBM Z Workload Scheduler and is in the EQQPIFJV member of the scheduler sample library. You need to specify the CARDIN DD card in the OCL procedure EQQYRPRC.

If the variable exists in the variable table, the UPD instruction changes the default value; otherwise it adds the variable and the variable's default value to the variable table.

Example:
UPD VAR2

Enclose within single quotes any input string or character when specified as value of a user variable.

The UPD instruction returns one of the following return codes:
CC = 0
Instruction correctly processed
CC = 4
Variable did not exist in the variable table; it has been added
CC = 8
Invalid instruction. See the error message.