Previous Topic

Next Topic

Book Contents

Book Index

Action system variables

The following variables are not assigned values until after the job is submitted or completes execution. These variables can be used only for the Notify, and Set Variable parameters.

Variables that return runtime statistics for a job must be resolved before the variables can return any values. Variables for job statistics: %%AVG_CPU, %%AVG_TIME, %%SD_CPU, and %%SD_TIME.
Run the ctmjsa utility to compile data in the Statistical Details table before specifying the required Variable statistics variable. For more information, see Statistics and reporting and ctmjsa in Control‑M Utilities.

Actions system variables

Name

Format

Description

%%AVG_CPU

numeric

Average CPU time (in seconds) for previous runs of the current job.

NOTE: Do not use this variable in a SMART Folder definition.

%%AVG_TIME

numeric

Average run time (in seconds) for previous runs of the current job or SMART Folder.

%%COMPSTAT

numeric

Completion code assigned to the job by the
operating system of the computer that executes the job. Initial value: 0.

%%JOBID

string

Identification assigned to the job by the operating system of the computer that executes the job.

NOTE: Do not use this variable in a SMART Folder definition.

%%NODEID

string

Host ID of agent computer that submitted the job.

NOTE: If you set the variable value in the job, then the Control-M/Agent for execution is defined by the value.

%%SD_CPU

numeric

Standard deviation of the CPU time (in seconds) from the average CPU time for previous runs of the current job.

NOTE: Do not use this variable in a SMART Folder definition.

%%SD_TIME

numeric

Standard deviation of the elapsed run time (in seconds) from the average elapsed run time for previous runs of the current job or SMART Folder.

Parent Topic

Control-M Variable facility