Previous Topic

Next Topic

Book Contents

Book Index

Non-Date System Variables

In addition to the date system variables discussed above, many system variables that do not relate to dates are available. %%ORDERID, which you specified in the JCL of IDJOB6, and which indicates the ID assigned by Control-M to the job order, is a non-date system variable. Available AutoEdit non-date system variables are listed in the following table:

Table 11 Non-Date AutoEdit System Variables

Variable

Description

%%.

Concatenation symbol.

%%APPL

Application to which the job belongs.

%%BLANK

Blank.

%%BLANKn

Resolves to n blanks, where n is a number between 1 and 99.

%%GROUP

Group to which the job belongs.

%%JOBNAME

Name of the submitted job as specified in the JCL job statement. If %%JOBNAME is resolved before the job submission (for example, %%JOBNAME is used in a SHOUT WHEN LATESUB statement, and the job has not been submitted), its value is assigned the %%$MEMNAME value.

%%ORDERID

Unique job order ID under Control-M (5 characters).

%%OWNER

Owner of the job, as specified in the scheduling definition.

%%RN

Run number (can exceed one for cyclic and rerun and restarted jobs).

%%TIME

Time of day (format hhmmss).

%%$MEMNAME

Name of the JCL member from which the job is submitted. (This corresponds to the value specified in the job scheduling definition.)

%%$QNAME

Qname (unique identifier) of the monitor that submitted the job.

%%$SCHDLIB

Name of the scheduling library that contains the job scheduling definition of the job.

%%$SCHDTAB

Name of the table that contains the job scheduling definition of the job.

%%$SIGN

1-character ID of the computer on which the job is running.

%%$RBC

Name of the Schedule RBC by which the job was scheduled. If the SMART Table was forced, or if the job was scheduled based on basic scheduling criteria other than a Schedule RBC, this value resolves to blanks.

Thus far, you have used AutoEdit predefined system variables. These included date system variables, such as %%ODATE, and non-date system variables, such as %%ORDERID.

Parent Topic

Using AutoEdit System Variables in the JCL