Previous Topic

Next Topic

Book Contents

Book Index

System variables

Control-M System variables are predefined, reserved, commonly used variables whose values are automatically updated and maintained by Control-M. The System variable format is:

%%var

where var is the name of the System variable.

Each variable resolves to the corresponding system value. The length of the line is changed accordingly. For example:

//EJ%%ODATE   JOB (0,l5, ...

//  EXEC ACCOUNTS,DAY=%%ODAY,MONTH=%%OMONTH

If the original scheduling date is June 5, 2001, the variables are resolved as follows:

//EJ000603   JOB (0,l5, ...

//  EXEC ACCOUNTS,DAY=05,MONTH=06

Parent Topic

JCL and AutoEdit Facility