Activating variable substitution
You activate variable substitution by specifying VARSUB as the first statement of your job definition. For a detailed description of VARSUB, see Scheduling End-to-end with Fault Tolerance Capabilities. A variable consists of up to 8 alphanumeric characters.
Any non-alphanumeric character, except blanks, can be used as a symbol to indicate that the characters that follow represent a variable. You can define two kinds of symbols using the PREFIX or BACKPREF keywords in the VARSUB statement: it allows you to define simple and compound variables.
Supplied Variables and User-defined Variables tables are supported. Refer to Supplied variables and User-defined variables and variable tables for details. For information about associating variable tables with applications, see Associating variable tables with applications.
VARSUB
TABLES(E2EVARTAB)
PREFIX('&')
JOBREC
JOBCMD('dir')
JOBUSR('&VUSER ')VARSUB
TABLES(E2EVARTAB)
PREFIX('&')
BACKPREF('%')
JOBREC
JOBSCR('&%OWSID.SDIR.\my.cmd')
JOBUSR('ZWS')