Previous Topic

Next Topic

Book Contents

Book Index

AutoEdit System Variables

The following table lists the AutoEdit System variables supported in Control-M/Tape. They can be used to insert environment information into the rule’s operation.

Table 198 Control-M/Tape AutoEdit Variables

Variable

Description

%%ACCOUNT

Account value

%%CPUID

CPU ID

%%DATE

Date of handling the event (YYMMDD format)

%%DDNAME

DD name

%%DSEXPDT

Data set expiration date
When %%DSEXPTYP is

  • DATE, resolves to Julian format (YYYYJJJ) expiration date
  • CYCLE, resolves to number of cycles
  • LAST-ACC, resolves to number of days

Note: During an OPEN event, the value of both %%DSEXPDT and %%DSEXPTYP is the abend retention.

%%DSEXPTYP

Data set expiration type
Valid resolution values are:
CATALOG, CYCLE, DATE, EDM, JCL-EXPDT, LAST-ACC, PERMANENT, RET-VAULT, SMS

Note: Only the first retention is supported.

%%DSLABEL

Data set label sequence number

%%DSNAME

Data set name

%%ENV

Environment ID
Valid resolution values are: SVCT, ONLC

%%JCLVOL

First five volumes, separated by commas

%%LASTACCS

Last access operation. Possible (valid) resolution values: READ, WRITE, CREATE

%%LBLTYP

Label type. Possible (valid) resolution values: NL, SL, NSL, SUL, BLP, AL, AUL

%%MEDIA

Media name

%%OWN001 – %%OWN999

Owner of volume

%%PGMNAME

Program name

%%POOL

Pool name

%%SLN001 – %%SLN999

Standard Label name of volume

%%STEPNAME

Step name

%%TDATE

Actual date the event occurred (YYMMDD format)

%%TIME

Time of handling the event (format hhmmss)

%%TJOBID

Job ID

%%TTIME

Actual time the event occurred (format hhmmss)

%%UCB

UCB address.

%%UNITGNAM

Generic unit name.

%%USERFLD

User field

%%USERID

User ID / Job name

%%VAULT

Location of the volume

%%VOL001 – %%VOL999

Volume serial number
%%vol001,%%vol002, ... ,%%vol005

%%VOLCOUNT

Number of volumes for the current data set

%%WHEN

Condition under which the event occurred. Possible (valid) resolution values: OPEN, CLOSE, MOUNT, CHECK-IN-VOLUMES, CLOSE-AFTER-ABEND, KEEP

Note the following about system variables:

Parent Topic

AutoEdit Variables