This section describes the supported AutoEdit system variables.
Table 173 Commonly Used AutoEdit System Variables
Variable |
Description |
---|---|
%%$BFPH |
Whether the BFP hardware instruction set is present. Valid values are:
|
%%$CMD |
The text of the original (intercepted) command. When the Dealias feature is active, the value of the %%$CMD system variable is that of the command in its full format, even if it was entered as an alias. For example, if the system command D A was entered, the %%$CMD variable contains the value DISPLAY A. |
%%$CONSNAME |
The console name.
|
%%$CONSOLEID |
The console ID.
|
%%$CPUMODEL |
CPU model number |
%%$CTOVAR |
CTOVAR 28-characters module information |
%%$CTOVARMD |
CTOVAR 8-characters module modified level |
%%$CTOVARRL |
CTOVAR 9-characters module release |
%%$CVTBFP |
Whether Binary Floating Point is supported. Valid values are:
|
%%$CVTCMPSC |
Whether the MVS compression and expansion service is present. Valid values are:
|
%%$CVTCMPSH |
Whether CMPCS compression and expansion hardware instruction is present. Valid values are:
|
%%$CVTCRPTL |
Whether the encryption asymmetric feature is supported. Valid values are:
|
%%$CVTCSRSI |
Whether the CSRSI service is available. Valid values are:
|
%%$CVTCSRUN |
Whether the CSRUNIC callable service is available. Valid values are:
|
%%$CVTCSTR |
Whether the CSTRING facility is present on this system. Valid values are:
|
%%$CVTCUSE |
Whether the CUSE facility is present on this system. Valid values are:
|
%%$CVTDYAPF |
Whether dynamic APF, through CSVAPF, is present. Valid values are:
|
%%$CVTDYLPA |
Whether dynamic LPA (CSVDYLPA) is available. Valid values are:
|
%%$CVTDYNEX |
Whether CSVDYNEX for dynamic exits is present. Valid values are:
|
%%$CVTDYNL |
Whether dynamic LNKLST, using CSVDYNL, is present. Valid values are:
|
%%$CVTENCLV |
Whether the ENCLAVES function is present. Valid values are:
|
%%$CVTESAME |
Whether ESAME hardware is present. Valid values are:
|
%%$CVTGTFAV |
Whether GTF is active. Valid values are:
|
%%$CVTHIPER |
Whether Hiperspaces are supported. Valid values are:
|
%%$CVTILM |
Whether IBM License Manager ILM functions are present. Valid values are:
|
%%$CVTJESCT |
Primary subsystem name |
%%$CVTLPARC |
Whether LPAR clustering is present. Valid values are:
|
%%$CVTMDL |
CPU model number |
%%$CVTMVPG |
Whether MOVEPAGE capability is present on this system. Valid values are:
|
%%$CVTOSLVL |
16-characters system level indicators |
%%$CVTOVER |
Whether SUBPOOL override is supported. Valid values are:
|
%%$CVTPARMC |
Whether Logical Parmlib Service is available through IEFPRMLB. Valid values are:
|
%%$CVTPAUSE |
Whether Pause and Release services are present. Valid values are:
|
%%$CVTPPER2 |
Whether PER2 hardware is present on all CPUs. Valid values are:
|
%%$CVTPLO |
Whether PLO instruction is present. Valid values are:
|
%%$CVTPRDED |
Whether product enable and disable (IFAEDxxx) is present. Valid values are:
|
%%$CVTPRODI |
Product FMID identifier of the control program, such as JBB1328. |
%%$CVTRELNO |
Release number—usually 038. |
%%$CVTRSMWD |
Whether the storage manager window has been built. Valid values are:
|
%%$CVTRTLS |
Whether Runtime Library Services (CSVRTLS) are present. Valid values are:
|
%%$CVTSNAME |
System name for current system. |
%%$CVTSOPF |
Whether the suppression-on-protection hardware facility is present on this system. Valid values are:
|
%%$CVTSUBSP |
Whether the SUBSPACE utility, initialized by NIP, is present on this system. Valid values are:
|
%%$CVTUNICS |
Whether Unicode callable services are available. Valid values are:
|
%%$CVTWLM |
Whether workload manager is installed. Valid values are:
|
%%$DATE |
The current system date, in the format yymmdd. |
%%$DAY |
The current system day, in the format dd. |
%%$DBMAXRW |
Maximum number of rows in a database. |
%%$ECVTCLON |
1 or 2 character value used to identify a system within a Sysplex. Valid values are:
|
%%$ECVTGMOD |
GRS mode of operation. |
%%$ECVTHDNM |
Hardware name of the processor. |
%%$ECVTLOAD |
Edited MVS load parameter. |
%%$ECVTLPID |
8-character IBM product ID for ILM. |
%%$ECVTLPNM |
LPAR name of the processor configuration. If the processor is not in LPAR mode, the variable will be null. |
%%$ECVTLPUB |
8-character IBM Publisher ID for ILM. |
%%$ECVTLVID |
8-character IBM Version ID for ILM. |
%%$ECVTPIDN |
PID number. |
%%$ECVTPMOD |
Control product modify level. |
%%$ECVTPNAM |
16-character Control product name. |
%%$ECVTPOWN |
16-character Control product owner. |
%%$ECVTPREL |
Control product release. |
%%$ECVTPVER |
Control product version. |
%%$ECVTSPLX |
Sysplex name. |
%%$ECVTVMNM |
VM user ID of the virtual computer, of which this MVS image is a guest. This field is blank if the processor is not a guest under VM. |
%%$GRSMODE |
GRS mode of operation. |
%%$HARDWARE |
Hardware name of the processor. |
%%$JESJOBNM |
For JES2 job-related messages, this variable resolves to the job ID of the related job (eight characters in the format JOBnnnnn). The value is taken from the WQEJOBNM field in the IHAWQE block associated with the message. This variable is available for the ON MESSAGE, ON STRING, ON JOBARRIV, and ON JOBEND message-type rules. |
%%$JNAME |
The name of the job that issued the message or command. This system variable contains the same value as %%$JOBNAME. |
%%$JOBACCT |
The account information of the job that issued the message or command. |
%%$JOBID |
The JES ID of the job that issued the message or command. |
%%$JOBNAME |
The name of the job that issued the message or command. This system variable contains the same value as %%$JNAME. |
%%$JOBTYPE |
The job type associated with the job that issued the message. Valid values are:
|
%%$JULDAY |
The current system day, in the format jjj. |
%%$LENGTH var |
The length of the var variable. |
%%$LINES |
The line counter for multiline messages and messages intercepted in command-response mode. Multiline messages are messages that consist of one primary line followed by at least one secondary line.
For information regarding these two types of processing, see the %%$M* and %%$Mn variables in this table. The maximum value for the %%$LINES variable is 10. If a command response contains more than ten lines, the variable resolves to 10. |
%%$LPARMNAME |
LPAR name of the processor configuration. This field is blank if the processor is not in LPAR mode. |
%%$M* |
For multiline messages and messages intercepted in command-response mode. Multiline messages are messages that consist of one primary line followed by at least one secondary line. When this system variable is specified in a rule, Control-O processes the message line by line, and all DO statements in the rule are executed repeatedly on each new line of the message. A %%$M* variable in a DO statement resolves to the text of the current line of the message. Therefore, %%$M* can resolve an unlimited number of message lines. This variable is useful for handling a message with an unknown number of lines, or where the information to be resolved does not occur in any one specific line. For more information, see "Command-Response Mode" in General Information, and DO ENDMSG: Automated Console Action Parameter. |
%%$Mn |
For multiline messages and messages intercepted in command-response mode. Multiline messages are messages that consist of one primary line followed by at least one secondary line. Specifies the nth line of the original message text after the primary message line, where n is a number from 1 through 10. For example, %%$M1 resolves to the message text contained in the first secondary line. For more information, see "Command-Response Mode" in General Information, and DO ENDMSG: Automated Console Action Parameter. |
%%$MONTH |
The current system month, in the format mm. |
%%$MSG |
The text of the original message (the primary line only for multiline messages). |
%%$MULTIFLG |
The multiline message flag. Valid values are:
|
%%$MVSUSER |
VM user ID of the virtual computer, of which this MVS image is a guest. This field is blank if the processor is not a guest under VM. |
%%$NULL |
A null variable. |
%%$PRISUBNM |
Primary subsystem name. |
%%$REPLY |
The reply number of the last WTOR message detected by the rule. |
%%$RPLYTXT |
The text of the reply to a DO ASKOPER statement. |
%%$SMSLEVEL |
SMS level. |
%%$SSNAME |
The name of the Control-O subsystem. |
%%$SYSFMID |
Product FMID identifier for the control program, such as JBB1328. |
%%$SYSPLEX |
Sysplex name. |
%%$SYSTEMNM |
System name for the current system |
%%$TIME |
The time of day, in the format hhmmss. |
%%$TSOLEVEL |
TSO level. |
%%$UNDEF |
An undefined variable. This variable can be used to
|
%%$USERID |
The security package user ID of the job, started task, or TSO under which the rule is executing. |
%%$Vn |
The nth word in the original message or command text, where n is a value from 1 through 99. A comma or a blank can serve as a delimiter. |
%%$WAITRC |
The return code of the event that caused the end of a DO WAIT, or a DO COMMAND with a WAITMODE value of YES. For more information, see DO WAIT: Automated Console Action Parameter. |
%%$WDAY |
The current Gregorian day of the week in the format d, where d is from 1 through 6 or 0. For example, 1=Sunday, 2=Monday, ... 6= Friday, 0=Saturday. |
Note: The start of the week depends on installation parameters specifying whether 1=Sunday or 1=Monday. Contact your INCONTROL administrator for your site standard. All references assume 1=Sunday, 2=Monday, and so on. |
|
%%$Wn varname |
The nth word of the varname variable, where n is a value from 1 through 99. A comma or a blank can serve as a delimiter. For example, %%$W3 %%$MSG represents the third word in the original message text. |
%%$WORDS varname |
The number of words in the varname variable. A comma or a blank can serve as a delimiter within the variable. |
%%$YEAR |
The current system year, in the format yy. |
Table 174 1-byte autoedit system variables
Variable |
Description |
---|---|
%%Dn |
the Nth qualifier of the data set name triggering the ON DSNEVENT rule. |
%%Mn |
For multiline messages and messages intercepted in command-response mode. Multiline messages are messages that consist of one primary line followed by at least one secondary line. |
%%Vn |
The Nth word in the original message or command text, where N is a value from 1 through 99. A comma or blank erve as a delimiter. |
%%Wn |
The Nth word of the varname variable, where N is a value from 1 through 99. A comma or blank erve as a delimiter. |
Note: BMC does not recommend using %%An because you might confuse the variable with the KSL %An system variable. |
Table 175 Global AutoEdit System Variables
Variable |
Description |
---|---|
%%$AUTOSYS |
The default system in the Sysplex from which TYPE 1 XAE database variables are retrieved. |
%%$DBCOUNT |
The number of rows in the current global variable pool (the variable group loaded in memory), if the current pool is an AutoEdit variable database or an XAE database. |
%%$DBMAXRW |
The maximum number of rows in a database. |
%%$DBROW |
The current row in the current global variable pool, if the current pool is an AutoEdit variable database. |
%%$GLOBAL |
The name of the global pool to be accessed. Global pools contain Global variables and their values. One global pool ($GLOBAL) is defined as the default, but multiple global pools can be defined. Unless a global pool is specified using a %%$GLOBAL parameter, the default $GLOBAL member is used. After a pool is specified using a %%$GLOBAL parameter, that member remains assigned until a different pool is specified using another %%$GLOBAL parameter. To respecify the default, use this parameter to specify the $GLOBAL member. For more information, see DO SET: Automated Console Action Parameter, and see the description of Global AutoEdit variables in the INCONTROL for z/OS Administrator Guide. Example DO SET=%%$GLOBAL = IMS DO SET=%%STATUS = UP GLOBAL Y |
%%$POOLCOSMOS |
Described in %%$POOLCOSMOS. |
%%$POOLSTORE |
Described in %%$POOLSTORE. |
%%$POOLTYPE |
Described in %%$POOLTYPE. |
%%$RESOLVE |
Described in %%$RESOLVE. |
%%$SYSPCPU |
The ordinal sequence number of the Sysplex-connected system with the name that will be accessed by the next resolution of %%SYSPCPUNAME (described in this table). |
%%SYSPCPUCOUNT |
The number of additional Control-O systems in the Sysplex that are connected to XAE structures. Examples:
|
%%SYSPCPUNAME |
The system name of a Sysplex participant. The system name that is returned is determined by the %%$SYSPCPU parameter, as described in this table. Each Sysplex-connected system on which Control-O runs the XAE facility is dynamically assigned an ordinal sequence number. %%$SYSPCPU specifies the sequence number of the system whose name is to be retrieved by the next resolution of %%SYSPCPUNAME. If the sequence number is greater than the total number of systems connected in a Sysplex, the literal value END is returned by %%SYSPCPUNAME in place of the system name. |
Table 176 Command AutoEdit System Variables
Variable |
Description |
---|---|
%%$CMD |
The text of the original (intercepted) command. When the Dealias feature is active, the value of the %%$CMD system variable is that of the command in its full format, even if it was entered as an alias. For example, if the system command D A was entered, the %%$CMD variable contains the value DISPLAY A. |
%%$CONSNAME |
The console name.
|
%%$CONSOLEID |
The console ID.
|
%%$DATE |
The current system date, in the format yymmdd. |
%%$DAY |
The current system day, in the format dd. |
%%$JNAME |
The name of the job that issued the message or command. This system variable contains the same value as %%$JOBNAME. |
%%$JOBID |
The JES ID of the job that issued the message or command. |
%%$JOBNAME |
The name of the job that issued the message or command. This system variable contains the same value as %%$JNAME. |
%%$JOBTYPE |
The job type associated with the job that issued the message. Valid values are:
|
%%$JULDAY |
The current system day, in the format jjj. |
%%$LENGTH variable |
The length of the var variable. |
%%$MONTH |
The current system month, in the format mm. |
%%$TIME |
The time of day, in the format hhmmss. |
%%$USERID |
The security package user ID of the job, started task, or TSO under which the rule is executing. |
%%$Vn |
The nth word in the original message or command text, where n is a value from 1 through 99. A comma or a blank can serve as a delimiter. |
%%$WAITRC |
The return code of the event that caused the end of a DO WAIT, or a DO COMMAND with a WAITMODE value of YES. For more information, see DO WAIT: Automated Console Action Parameter. |
%%$WDAY |
The current Gregorian day of the week in the format d, where d is from 1 through 6 or 0. For example, 1=Sunday, 2=Monday, ... 6= Friday, 0=Saturday. |
Note: The start of the week depends on installation parameters specifying whether 1=Sunday or 1=Monday. Contact your INCONTROL administrator for your site standard. All references assume 1=Sunday, 2=Monday, and so on. |
|
%%$Wn varname |
The nth word of the varname variable, where n is a value from 1 through 99. A comma or a blank can serve as a delimiter. For example, %%$W3 %%$MSG represents the third word in the original message text. |
%%$WORDS varname |
The number of words in the varname variable. A comma or a blank can serve as a delimiter within the variable. |
%%$YEAR |
The current system year, in the format yy. |
Table 177 Control-M AutoEdit System Variables
Variable |
Description |
---|---|
%%$CTMHLDSTATUS |
The job Held/Free status. |
%%$CTMJGROUP |
The job group. |
%%$CTMJJOBID |
The job ID. |
%%$CTMJJOBNAME |
The job name. |
%%$CTMJJOWNER |
The job owner. |
%%$CTMJLIBRARY |
The name of the job schedule library. |
Note: Values for the variables from %%$CTMJMEMNAME through %%$CTMJTYPE are returned by the Control-M interface. These values are taken from the current job entry in the Active Jobs file. The current job entry is set using the %%$CTMLINE# reserved user-defined variable, which is described in this table. For more information, see Reserved User-Defined Variables. |
|
%%$CTMJMEMNAME |
The job member name. |
%%$CTMJODATE |
The job ODATE. |
%%$CTMJORDERID |
The job order ID. |
%%$CTMJRBA |
The job RBA in the Active Jobs file. |
%%$CTMJSTATUS |
The job status. Valid values are:
|
%%$CTMJTABLE |
The name of the job schedule table. |
%%$CTMJTYPE |
The job type. |
%%$CTMLINE# |
The current line, or job entry, in the Active Jobs file from which values are returned by the Control-M interface. |
%%$CTMLINES |
The number of lines of response returned by the Control-M interface. |
%%$CTMRC |
The return code from the Control-M interface. Valid values are:
|
%%$CTMRESCURR |
The currently used quantity of the Control-M resource. |
%%$CTMRESMAX |
The maximum available quantity of the Control-M resource. |
%%$CTMRESPRI |
The priority of the Control-M resource when the jobs requesting it are part of the critical path. |
Table 178 Control-O AutoEdit System Variables
Variable |
Description |
---|---|
%% |
The concatenation character. |
%%$ARGS |
The argument string passed by a calling rule, through its DO RULE statement, to an invoked rule. |
%%$ASKRC |
The return code of the event that caused the end of a DO ASKOPER wait. |
%%$AUTOLOG |
The recording mode for the currently handled message or command. Valid values are:
For more information, see DO SET: Automated Console Action Parameter, and see the discussion about preventing logging of unnecessary messages in the INCONTROL for z/OS Administrator Guide. Example ON MESSAGE TST* DO SET=%%$AUTOLOG=N |
%%$AUTOSYS |
The default system in the Sysplex from which TYPE 1 XAE database variables are retrieved. |
%%$BLANK |
Resolves to one blank. |
%%$BLANKn |
Resolves to n blanks, where n is a number from 1 through 99. |
%%$COMMSYS |
The system communication name or the Control-O system name (CTOGATE name).
The DO statements are distributed by Sysplex or CTOGATE communication. For more information, see Performing an Action on Another System ctoug3. Example DO SET %%$COMMSYS = SYS* DO SHOUT=TO TSO-CICSOPR URGENCY R SYSTEM MESSAGE CICS IS DOWN! |
%%$CONDSTAT |
The status of the condition obtained by the last executed DO COND statement, where CONDOPT is set to ? (Check the status of the condition). Valid values are:
|
%%$CONTROLO |
The name of the Control-O monitor started task. |
%%$CTOVAR |
The CTOVAR 28-character module information. |
%%$CTOVARMD |
The CTOVAR 8-character module modified level. |
%%$CTOVARRL |
The CTOVAR 9-character module release. |
%%$DBCOUNT |
The number of rows in the current global variable pool (the variable group loaded in memory), if the current pool is an AutoEdit variable database or an XAE database. |
%%$DBMAXRW |
The maximum number of rows in a database. |
%%$DBROW |
The current row in the current global variable pool, if the current pool is an AutoEdit variable database. |
%%$Dn |
The nth qualifier of the data set name that triggered the ON DSNEVENT rule. For example, if the rule was triggered by the data set name USER01.LIB.CNTL, %%$D2 resolves to LIB. |
%%$DOLIMIT |
The maximum number of DO actions that can be performed during execution of the current Control-O rule. Valid values are:
If %%$DOLIMIT is not specified in a Control-O rule, the rule is allowed to execute a maximum of 10,000 DO actions. Example To allow the current rule to execute a maximum of 500 DO actions, specify the following: DO SET=%%$DOLIMIT = 500 |
%%$DSN |
Name of the data set handled by the rule (for ON DSNEVENT rules). |
%%$DSNDISP |
The disposition of the data set handled by the rule (for ON DSNEVENT rules). Valid values are:
|
%%$EITEMPLATE |
The built-in template used to parse the results of an ENQ entry. |
%%$GLOBAL |
The name of the global pool to be accessed. Global pools contain Global variables and their values. One global pool ($GLOBAL) is defined as the default, but multiple global pools can be defined. Unless a global pool is specified using a %%$GLOBAL parameter, the default $GLOBAL member is used. After a pool is specified using a %%$GLOBAL parameter, that member remains assigned until a different pool is specified using another %%$GLOBAL parameter. To respecify the default, use this parameter to specify the $GLOBAL member. For more information, see DO SET: Automated Console Action Parameter, and see the description of Global AutoEdit variables in the INCONTROL for z/OS Administrator Guide. Example DO SET=%%$GLOBAL = IMS DO SET=%%STATUS = UP GLOBAL Y |
%%$IO0024 |
Status of the pre-version-6.x.xx optional Wish IO0024. For more information see "%%$WQEUPD" in this table. |
%%$KSLRC |
The completion code returned by the KeyStroke OpenAccess (KOA) script specified in the associated DO KSL statement. For more information, see DO KSL: Automated Console Action Parameter. |
%%$MSGENV |
The environment under which the message or command was intercepted by Control-O. Valid values are:
|
%%$MODIFY_O_F |
Status of optional Wish WO0943. Valid values are:
For further information see Wish WO0943. |
%%$NULL |
A null variable. |
%%$OWNER |
The user ID of the rule owner, taken from the OWNER field. |
%%$PARSRC |
The return code resulting from a %%$PARSE function that indicates whether the parsed string matched all string patterns in the template. Valid values are:
|
%%$REPLY |
The reply number of the last WTOR message detected by the rule. |
%%$RESPMSG |
The IDs of messages expected in response to the DO COMMAND statement that follows the DO SET %%$RESPMSG statement. This variable is supported for historical reasons. For more information, see "Command-Response Mode" in General Information. Example DO SET=%%$RESPMSG = (CTM101I, CTM240I) DO COMMAND=F CONTROLM,NEWCONLIST |
%%$RJOBID |
The ID of the job associated with DO COND, DO FORCEJOB, and DO RESOURCE requests. When specified, the value overrides the default job ID. If this variable is set, you should also set the %%$RJOBNAME reserved user-defined variable. For an example of usage, see the %%$RJOBNAME variable in this table. |
%%$RJOBNAME |
The name of the job associated with DO COND, DO FORCEJOB, and DO RESOURCE requests. When specified, the value overrides the default job name. If this variable is set, you should also set the %%$RJOBID variable, described in this table. Example The IAT5210 JES3 tape mount message is issued under the address space of JES3, and Control-O sets the default job name to JES3. To associate the correct job, which mounts the tape, with the DO RESOURCE request, the job name and job ID are extracted from the text of the message, as follows: DO SET=%%$RJOBNAME = %%$V3 DO SET=%%$RJOBID = %%$V4 DO RESOURCE=TAPE 0001 - |
%%$RPLYTXT |
The text of the reply to a DO ASKOPER statement. |
%%$SECJES |
Status of optional Wish WI0920:
For more information, see the Control-O installation chapter in the INCONTROL for z/OS Installation Guide. |
%%$SHELLRC |
The completion code returned by the BPXBATCH utility running under TSO/E. The utility executes the z/OS shell script specified in the associated DO SHELL statement. For descriptions of BPXBATCH return codes, refer to IBM’s z/OS UNIX System Services Command Reference, the “BPXBATCH return codes” section. In most cases, you will need to divide the BPXBATCH return code by 256 to obtain the exit status of the program that was invoked by BPXBATCH. For more information, see DO SHELL: Automated Console Action Parameter. |
%%$SSNAME |
The name of the Control-O subsystem. |
%%$STATID |
The message ID under which the statistics for a message should be accumulated. This variable can be used to combine the statistics of messages with individual statistics that are not required. This eliminates unnecessary messages from the Message Statistics screen. Example To combine the statistics for all messages with the prefix CKH into one general statistics item under the identifier CKHMSG, specify the following: ON MSG CKH* DO SET %%$STATID = CKHMSG |
%%$STEPCC |
The completion code of the step the termination of which triggered the rule. |
%%$SYSLINEn |
The contents of a line selected in a DO SYSREQ statement. |
%%$SYSLINES |
The number of lines selected in a DO SYSREQ statement. |
%%$SYSRC |
The return code for DO SYSREQ statement. |
%%$TIMEOUT |
The time, in seconds, to wait for one of the following:
The following formats are possible:
This variable is supported for historical reasons. For more information, see "Command-Response Mode" in General Information. |
%%$TSORC |
The completion code returned by the TSO command, CLIST, or REXX procedure specified in the associated DO TSO statement. For more information, see DO TSO: Automated Console Action Parameter. |
%%$TYPE |
The rule type as it appears in the Rule Status screen. |
%%$UNDEF |
An undefined variable. This variable can be used to
|
%%$Vn |
The nth word in the original message or command text, where n is a value from 1 through 99. A comma or a blank can serve as a delimiter. |
%%$WAITKSL |
Whether a Control-O rule waits for the KeyStroke OpenAccess (KOA) script to complete so that it can check return codes or Global variables set by the script and proceed accordingly. Valid values are
The value of %%$WAITKSL is automatically reset to NO after the completion of the KOA script. Example DO SET=%%$WAITKSL = YES DO KSL=scriptname arg1 arg2 ... arg10 IF %%$KSLRC EQ# 4 DO SHOUT=... This variable is supported for historical reasons. For more information, see DO KSL: Automated Console Action Parameter. |
%%$WAITRC |
The return code of the event that caused the end of a DO WAIT, or a DO COMMAND with a WAITMODE value of YES. For more information, see DO WAIT: Automated Console Action Parameter. |
%%$WAITRESP |
Whether Control-O retrieves, in the same rule, all messages issued in response to an operator command. Valid values are YES and NO. The value of %%$WAITRESP is automatically reset to NO after all response messages have been intercepted. Example DO SET=%%$WAITRESP = YES DO COMMAND=D T This variable is supported for historical reasons. For more information, see DO COMMAND: Automated Console Action Parameter. |
%%$WAITTSO |
Whether a Control-O rule waits for the completion of the TSO command, CLIST, or REXX procedure so that it can check return codes or Global variables set by the command and proceed accordingly. Valid values are:
The value of %%$WAITTSO is automatically reset to NO after the completion of the TSO command, CLIST, or REXX procedure. Example DO SET=%%$WAITTSO = YES DO TSO=... IF %%$TSORC EQ# 4 DO SHOUT=... This variable is supported for historical reasons. For more information, see DO TSO: Automated Console Action Parameter. |
%%$WI0920 |
Prior to version 6.0.00, optional Wish WI0920 displayed the value of %%$SECJES. This %%$WI0920 variable performs the same function. For more information, see "%%$SECJES" in this table. |
%%$WO0943 |
Status of optional wish WO0943. For more information, see "%%$MODIFY_O_F" in this table. |
%%$WQEUPD |
Status of optional Wish IO0024. Indicates whether to update the message block (WQE) "in place" with the required changes created in the DO DISPLAY statement with the NEWTEXT text. Valid values are:
For more information, see the Control-O chapter in the INCONTROL for z/OS Installation Guide. |
%%$WTOLINKAGE |
Determines how the Write To Operator (WTO) service that caused the message to appear was requested. WTO is the MVS system service that allows programs to write messages to consoles and the system log. Valid values are:
|
%%$XAMLB |
Name of the library containing the rule that will be used in the DO RULE request when using the Control-O eXtended Automation Mechanism (XAM). The default is ALL. |
%%$XAMTB |
Name of the table containing the rule that will be used in the DO RULE request when using the Control-O eXtended Automation Mechanism (XAM). The default is ALL. |
Table 179 Control-O Control Statements
Statement |
Description |
---|---|
%%$LOCALPOOLSIZE |
When set to LARGE, Control-O will attempt to increase the allocation of storage for local variables to rules that enter wait mode. For a list of events that cause a rule to enter wait mode, see the description of the WAITPR# parameter. Use this variable only after receiving the following error message for a rule: WTO283E AUTOEDIT FAILED, RC=0004, REASON=0001. PROCESSING OF THIS RULE IS ABORTED Add the DO SET %%$LOCALPOOLSIZE = LARGE statement for execution before the rule enters the first wait mode. If the error message persists after using this variable, consider reorganizing the rule's local variables to require less storage space. |
%%$MLLEND |
For a complete description of this statement, see %%$MLLEND. |
%%$RESOLVE |
For a complete description of this statement, see %%$RESOLVE. |
%%$RANGE |
For a complete description of this statement, see %%$RANGE. |
Table 180 Control-O Function AutoEdit System Variables
Variables |
Description |
---|---|
%%$CALCDATE |
Date calculations based on a given date. The syntax is %%$CALCDATE date ± quantity In this syntax
For more information, see %%$CALCDATE. |
Note: This variable operates on Gregorian dates only; you cannot specify Julian dates such as with the %%JULDAY variable. |
|
%%$D2X num |
The decimal value-to-hexadecimal string convertor. The maximum number that can be converted with this variable is 2147483647, or 231-1. Example To convert decimal 4095 to the equivalent hexadecimal string (FFF), specify %%$D2X 4095 |
%%$DIV |
The operator that divides one operand by another operand. |
%%$ISNUM |
Whether a specified string is numeric. To be considered numeric, the specified string must contain only the digits from 0 through 9. The syntax is %%$ISNUM string. In this syntax, string is the constant or variable that contains the string to evaluate. Possible values returned by this function are:
For more information, see %%$ISNUM. |
%%$JOBSTAT job_name |
The job status. Valid values are:
|
%%$LENGTH var |
The length of the var variable. |
%%$MINUS |
The operator that subtracts one operand from another operand. |
%%$PARSE |
Splits a specified string into substrings according to a specified template. A template consists of variables and patterns that determine the parsing process. The syntax is DO SET=%%$PARSE string template In this syntax
For more information, see %%$PARSE. |
%%$PLUS |
The operator that adds two operands. |
%%$POOLCOSMOS cosmos_dbname |
Returns the type of the specified COSMOS database. The syntax is %%$POOLCOSMOS cosmos_dbname In this syntax, cosmos_dbname is the name of the COSMOS database. |
%%$POOLSTORE gblvar_pname |
Returns the source type of the specified pool Control-O storage. The syntax is %%$POOLSTORE gblvar_pname where gblvar_pname is the Global variable pool name. |
%%$POOLTYPE gblvar_pname |
Returns the type of the specified pool in Control-O, as defined in the list of pools to be loaded (DAGLBLST). The syntax is %%$POOLTYPE gblvar_pname In this syntax, gblvar_pname is the Global variable pool name. |
%%$POS |
Locates a substring in a specified string, and indicates the position of the first character of that substring. The syntax is %%$POS substring string In this syntax,
For more information, see %%$POS. |
Note: If the substring is not found in the specified string, this variable returns a value of 0. |
|
%%$SUBSTR |
Extracts a substring from the input string. The syntax is %%$SUBSTR strng startpos len In this syntax
For more information, see %%$SUBSTR. |
%%$TIMEINT |
Calculates the time interval between two given times, specified in any order. The syntax is %%$TIMEINT time1 time2 In this syntax, time1 and time2 are constants or variables in the format yydddhhmmss. For more information, see %%$TIMEINT. |
%%$TIMES |
The operator that multiplies one operand by another operand. |
%%$Wn varname |
The nth word of the varname variable, where n is a value from 1 through 99. A comma or a blank can serve as a delimiter. For example, %%$W3 %%$MSG represents the third word in the original message text. |
%%$WORDS varname |
The number of words in the varname variable. A comma or a blank can serve as a delimiter within the variable. |
%%$X2C string |
The hexadecimal string-to-character convertor. Example To convert the hexadecimal string "2A4F" to text format, specify %%$X2C 2A4F |
%%$X2D string |
The hexadecimal string-to-decimal value convertor. The result of the conversion is always positive. The highest number that can be converted using this variable is 7FFFFFFF. Example To convert the hexadecimal string "FFF" to the equivalent decimal value (4095), specify %%$X2D FFF. |
Table 181 CVT and ECVT AutoEdit System Variables
Variable |
Description |
---|---|
%%$CVTBFP |
Whether Binary Floating Point support is active. Binary Floating Point support is simulated unless the CVTBFPH variable, described in this table, is set to Y (Yes). Valid values are:
|
%%$CVTCMPSC |
Whether to indicate the presence of the MVS compression/expansion service. Valid values are:
|
%%$CVTCMPSH |
Whether to indicate the presence of the CMPCS compression/expansion hardware instruction. Valid values are:
|
%%$CVTCRPTL |
Whether the encryption asymmetric feature is supported. Valid values are:
|
%%$CVTCSRSI |
Whether CSRSI service is available. Valid values are:
|
%%$CVTCSRUN |
Whether CSRUNIC callable service is available. Valid values are
|
%%$CVTCSTR |
Whether the CSTRING facility is present on this system. Valid values are:
|
%%$CVTCUSE |
Whether the CUSE facility is present on this system. Valid values are:
|
%%$CVTDLPA |
Whether dynamic LPA (CSVDYLPA) is available. Valid values are:
|
%%$CVTDNEX |
Whether CSVDYNEX for dynamic exits is present. Valid values are:
|
%%$CVTDYAPF |
Whether the dynamic APF is present through CSVAPF. Valid values are:
|
%%$CVTDYNL |
Whether dynamic LNKLST is present through CSVDYNL. Valid values are:
|
%%$CVTENCLV |
Whether the ENCLAVES function is present. Valid values are:
|
%%$CVTESAME |
Whether to indicate the presence of ESAME hardware. Valid values are:
|
%%$CVTGTFAV |
Whether GTF is active. Valid values are:
|
%%$CVTHIPER |
Whether hyperspaces are supported. Valid values are:
|
%%$CVTILM |
Whether IBM License ManagerILM functions are present. Valid values are:
|
%%$CVTJESCT |
The primary subsystem name. |
%%$CVTLPARC |
Whether LPAR Clustering is present. Valid values are:
|
%%$CVTMDL |
The CPU model number. |
%%$CVTMVPG |
Whether MOVEPAGE capability is present on this system. Valid values are:
|
%%$CVTOSLVL |
The 16-character system level indicators |
%%$CVTOVER |
Whether SUBPOOL override is supported. Valid values are:
|
%%$CVTPARMC |
Whether Logical Parmlib Service is available through IEFPRMLB. Valid values are:
|
%%$CVTPAUSE |
Whether Pause/Release services are present. Valid values are:
|
%%$CVTPER2 |
Whether PER2 hardware is present on all CPUs. Valid values are:
|
%%$CVTPLO |
Whether a PLO instruction is present. Valid values are:
|
%%$CVTPRDED |
Whether product enable/disable (IFAEDxxx) is present. Valid values are:
|
%%$CVTPRODI |
The product FMID identifier for the control program. For example, JBB1328. |
%%$CVTRELNO |
The 4-character release number, usually "038 " (with trailing blank). |
%%$CVTRSMWD |
Whether the storage manager window was built. Valid values are:
|
%%$CVTRTLS |
Whether Runtime Library services (CSVRTLS) are present. Valid values are:
|
%%$CVTSNAME |
The name of the current system. |
%%$CVTSOPF |
Whether the suppression-on-protection hardware facility is present. Valid values are:
|
%%$CVTSUBSP |
Whether the SUBSPACE facility is present on this system. The facility is initialized by NIP. Valid values are:
|
%%$CVTUNICS |
Whether Unicode callable services are available. Valid values are:
|
%%$CVTWLM |
Whether the IBM Workload Manager is installed. Valid values are:
|
%%$ECVTCLON |
The 1-character or 2-character value used to identify a system within a Sysplex. Valid values are:
|
%%$ECVTGMOD |
The GRS mode of operation. |
%%$ECVTHDNM |
The hardware name of the processor. |
%%$ECVTLOAD |
The edited MVS load parameter. |
%%$ECVTLPID |
The 8-character IBM product ID for ILM. |
%%$ECVTLPNM |
The LPAR name of the processor configuration. This field is blank if the processor is not in LPAR mode. |
%%$ECVTLPUB |
The 8-character IBM publisher ID for ILM. |
%%$ECVTLVID |
The 8-character IBM version ID for ILM. |
%%$ECVTPIDN |
The PID number. |
%%$ECVTPMOD |
The Control Product modify level. |
%%$ECVTPNAM |
The 16-character Control Product name. |
%%$ECVTPOWN |
The 16-character Control Product owner. |
%%$ECVTPREL |
The Control Product release. |
%%$ECVTPVER |
The Control Product version. |
%%$ECVTSPLX |
The name of the Sysplex. |
%%$ECVTVMNM |
The VM user ID of the virtual machine, of which this MVS image is a guest. This field is blank if the processor is not a guest under VM. |
Table 182 General AutoEdit System Variables
Variable |
Description |
---|---|
%%$ASID |
The address space ID in decimal format. |
%%$ASIDX |
The address space ID in hexadecimal format. |
%%$BFPH |
Whether to indicate the presence of the BFP hardware instruction set. Valid values are:
|
%%$CONSNAME |
The console name.
|
%%$CONSOLEID |
The console ID.
|
%%$CPUMODEL |
The CPU model number. |
%%$GRSMODE |
The GRS mode of operation. |
%%$GTFMODE |
Whether GTF is active. Valid values are:
|
%%$HARDWARE |
The hardware name of the processor. |
%%$JES2CHAR |
JES2 recognition character |
%%$JES2LEVEL |
Primary subsystem name |
%%$JES2SSNM |
JES2 subsystem name |
%%$JES2SSVS |
JES2 version, release and mod |
%%$JES2SYSID |
4-character JES2 system ID |
%%$JES2SYSNM |
8-character JES2 system name |
%%$JESMAXDD |
Maximum number of single unit DD statements allowed for a job step |
%%$JESNRSS |
Total number of subsystems |
%%$JNAME |
The name of the job that issued the message or command. This system variable contains the same value as %%$JOBNAME. |
%%$JOBACCT |
The account information of the job that issued the message or command. |
%%$JOBNAME |
The name of the job that issued the message or command. This system variable contains the same value as %%$JNAME. |
%%$JOBTYPE |
The job type associated with the job that issued the message. Valid values are:
|
%%$LPARNAME |
The LPAR name of the processor configuration. This field is blank if the processor is not in LPAR mode. |
%%$MAXDDS |
Maximum number of single unit DD statements allowed for a job step |
%%$MVSLEVEL |
The z/OS product release under which Control-O is running. Up to eight characters. For example, SP3.1.1 or SP4.2.2 |
%%$MVSUSER |
The VM user ID of the virtual machine, of which this MVS image is a guest. This field is blank if the processor is not a guest under VM. |
%%$PGMSTEP |
The job program step name from which the message was issued. |
%%$PRISUBNM |
The primary subsystem name. |
%%$PROCSTEP |
The job procedure step from which the message was issued. |
%%$SABEND |
The system abend code of the step whose termination triggered the rule. |
%%$SMFID |
The SMF ID of the CPU issuing the message or running the KSL script. |
%%$SUBSYSS# |
Total number of subsystems |
%%$SYSFMID |
The product FMID identifier for the control program, for example, JBB1328. |
%%$SYSPLEX |
The Sysplex name |
%%$SYSTEMNM |
The name of the current system. |
%%$TSOLEVEL |
The TSO level. |
%%$UABEND |
The user abend code of the step the termination of which triggered the rule. |
%%$USERID |
The security package user ID of the job, started task, or TSO under which the rule is executing. |
%%$XCONSOLEID |
The 8-character ID of the console that received the message or issued the command. |
Table 183 IPL AutoEdit System Variables
Variable |
Description |
---|---|
%%$IPLCLPA |
Whether the keyword CLPA was specified during IPL. Valid values are:
|
%%$IPLCVIO |
Whether the keyword CVIO was specified during IPL. Valid values are:
|
%%$IPLDATE |
The date of the most recent IPL. The format is defined in the DATETYP parameter of the IOAPARM library. For a description of this parameter, see the IOA chapter in the INCONTROL for z/OS Installation Guide. |
%%$IPLTIME |
The time of the most recent IPL in the format hhmmss. |
%%$IPLTYPE |
The type of IPL that was run, determined by whether the keyword CLPA or CVIO was specified.
|
%%$LOADPARM |
The value of the LOADPARM parameter, which was specified during IPL. The format is wwwwxxyz In this format
|
%%$SYSRESCUA |
The address of the volume used for IPL. |
%%$SYSRESVOL |
The name of the volume used for IPL. |
Table 184 JES2 and JES3 AutoEdit System Variables
Variable |
Description |
---|---|
%%$CCTCOMCH |
The JES2 recognition character |
%%$CCTLEVEL |
The primary subsystem name |
%%$CCTMVSNM |
The 8-character JES2 system name |
%%$CCTNDENM |
The JES2 node name |
%%$CCTSID |
The 4-character JES2 system ID |
%%$CCTSSNM |
The JES2 subsystem name |
%%$CCTSSVS |
The JES2 version, release and mod |
%%$JES2CHAR |
The JES2 recognition character |
%%$JES2CKP1 |
The JES2 checkpoint1 name |
%%$JES2CKP2 |
The JES2 checkpoint2 name |
%%$JES2LEEL |
The primary subsystem name |
%%$JES2NODE |
The JES2 node name |
%%$JES2SSNM |
The JES2 subsystem name |
%%$JES2SSVS |
The JES2 version, release and mod |
%%$JES2SYSID |
The 4-character JES2 system ID |
%%$JES2SYSNM |
The 8-character JES2 system name |
%%$JES3MSTAT |
For JES3 and Sysplex environment. The status of the message intercepted by Control-O. Valid values are:
|
%%$JESJOBNM |
For JES2 job-related messages, this variable resolves to the job ID of the related job (eight characters in the format JOBnnnnn) The value is taken from the WQEJOBNM field in the IHAWQE block associated with the message. This variable is available for the ON MESSAGE, ON STRING, ON JOBARRIV, and ON JOBEND message-type rules. |
%%$JESMAXDD |
The maximum number of single unit DD statements allowed for a job step |
%%$JESNRSS |
The total number of subsystems |
%%$JESTYPE |
The type of JES environment under which Control-O is running. Valid values are:
|
%%$JOBID |
The JES ID of the job that issued the message or command. |
%%$MAXDDS |
The maximum number of single unit DD statements allowed for a job step |
%%$SUBSYSS# |
The total number of subsystems |
Table 185 MAINVIEW AutoEdit System Variables
Variable |
Description |
---|---|
%%$MVA_CONTEXT |
The context of the exception. |
%%$MVA_DATA |
The assigned user data (PCMD). |
%%$MVA_DATE |
The exception date in the format yyddd. |
%%$MVA_GROUP |
The group name associated with the exception. |
%%$MVA_IND |
Whether the alarm should be sounded. Valid values are:
|
%%$MVA_KEY |
The unique key that identifies the exception. |
%%$MVA_PRODUCT |
The MAINVIEW product associated with the exception. |
%%$MVA_PRTY |
The exception priority. Valid values are:
|
%%$MVA_QUEUE |
The queue that the exception is assigned to. |
%%$MVA_SCOPE |
The scope associated with the exception. |
%%$MVA_TEXT |
The text of the alert message. |
%%$MVA_TIME |
The exception time in the format hhmmss. |
%%$MVA_TYPE |
The exception type. Valid values are:
|
%%$MVA_USER |
The ID of the user that made the last exception update. |
%%$MVA_VIEW |
The view associated with the exception. |
Table 186 Message AutoEdit System Variables
Variable |
Description |
---|---|
%%$CONSNAME |
The console name.
|
%%$CONSOLEID |
The console ID.
|
%%$DATE |
The current system date, in the format yymmdd. |
%%$DAY |
The current system day, in the format dd. |
%%$DDNAME |
The name of the SYSOUT DD statement to which the message that triggered the rule was written. This variable is relevant only for rules that contain an ON SYSOUT statement. |
%%$DESC |
The descriptor code of the original message. |
%%$JESJOBNM |
For JES2 job-related messages, this variable resolves to the job ID of the related job (eight characters in the format JOBnnnnn). The value is taken from the WQEJOBNM field in the IHAWQE block associated with the message. This variable is available for the ON MESSAGE, ON STRING, ON JOBARRIV, and ON JOBEND message-type rules. |
%%$JNAME |
The name of the job that issued the message or command. This system variable contains the same value as %%$JOBNAME. |
%%$JOBID |
The JES ID of the job that issued the message or command. |
%%$JOBNAME |
The name of the job that issued the message or command. This system variable contains the same value as %%$JNAME. |
%%$JOBTYPE |
The job type associated with the job that issued the message. Valid values are:
|
%%$JULDAY |
The current system day, in the format jjj. |
%%$LDOMID |
The message identification number (DOM ID) of the last message issued or intercepted by Control-O. |
%%$LENGTH variable |
The length of the var variable. |
%%$LINES |
The line counter for multiline messages and messages intercepted in command-response mode. Multiline messages are messages that consist of one primary line followed by at least one secondary line.
For information regarding these two types of processing, see the %%$M* and %%$Mn variables in this table. The maximum value for the %%$LINES variable is 10. If a command response contains more than ten lines, the variable resolves to 10. |
%%$M* |
For multiline messages and messages intercepted in command-response mode. Multiline messages are messages that consist of one primary line followed by at least one secondary line. When this system variable is specified in a rule, Control-O processes the message line by line, and all DO statements in the rule are executed repeatedly on each new line of the message. A %%$M* variable in a DO statement resolves to the text of the current line of the message. Therefore, %%$M* can resolve an unlimited number of message lines. This variable is useful for handling a message with an unknown number of lines, or where the information to be resolved does not occur in any one specific line. For more information, see "Command-Response Mode" in General Information, and DO ENDMSG: Automated Console Action Parameter. |
%%$MCSFLAGB |
The MCS flags from the WQE (WQEMCSF source) in binary format. For messages only. |
%%$MCSFLAGX |
The MCS flags from the WQE (WQEMCSF source) in hexadecimal format. For messages only. |
%%$MDOMID |
The message identification number (DOM ID) of the message that triggered the rule. |
%%$Mn |
For multiline messages and messages intercepted in command-response mode. Multiline messages are messages that consist of one primary line followed by at least one secondary line. Specifies the nth line of the original message text after the primary message line, where n is a number from 1 through 10. For example, %%$M1 resolves to the message text contained in the first secondary line. For more information, see "Command-Response Mode" in General Information, and DO ENDMSG: Automated Console Action Parameter. |
%%$MONTH |
The current system month, in the format mm. |
%%$MSG |
The text of the original message (the primary line only for multiline messages). |
%%$MSGENV |
The environment under which the message or command was intercepted by Control-O.
|
%%$MSGID |
The first ten characters of the message code. |
%%$MSGSYSID |
For JES3. The SYSID of the system on which the message was originally issued. |
%%$MSGSYSNM |
The system name associated with the message. |
%%$MULTIFLG |
The multiline message flag. Valid values are:
|
%%$REISSUED |
Whether the message that triggered the rule was issued from the current system.
|
%%$ROUTE |
The route code of the original message. |
%%$SPECIALC |
The special character (+, @, or *) that appears on the console or in the Syslog at the beginning of a message. |
%%$TIME |
The time of day, in the format hhmmss. |
%%$USERID |
The security package user ID of the job, started task, or TSO under which the rule is executing. |
%%$Vn |
The nth word in the original message or command text, where n is a value from 1 through 99. A comma or a blank can serve as a delimiter. |
%%$WAITRC |
The return code of the event that caused the end of a DO WAIT, or a DO COMMAND with a WAITMODE value of YES. For more information, see DO WAIT: Automated Console Action Parameter |
%%$WDAY |
The current Gregorian day of the week in the format d, where d is from 1 through 6 or 0. For example, 1=Sunday, 2=Monday, ... 6= Friday, 0=Saturday. |
Note: The start of the week depends on installation parameters specifying whether 1=Sunday or 1=Monday. Contact your INCONTROL administrator for your site standard. All references assume 1=Sunday, 2=Monday, and so on. |
|
%%$Wn varname |
The nth word of the varname variable, where n is a value from 1 through 99. A comma or a blank can serve as a delimiter. For example, %%$W3 %%$MSG represents the third word in the original message text. |
%%$WORDS varname |
The number of words in the varname variable. A comma or a blank can serve as a delimiter within the variable. |
%%$YEAR |
The current system year, in the format yy. |
The SMS variables described in the following table pass the associated values to the ACS exit routines.
Table 187 SMS AutoEdit System Variables
Variable |
Description |
---|---|
%%$SMS_ACCT_JOB# |
The maximum number of job account fields. |
Note: %%$SMS_ACCT_JOB# resolves to the number of fields in the job account information. |
|
%%$SMS_ACCT_JOBnnn |
The account information from the JOB statement. |
Note: %%$SMS_ACCT_JOB# resolves to the number of fields in the job account information. %%$SMS_ACCT_JOBnnn resolves to the job account information in field number nnn. For example, if the account information on the JOB card is (SMITH,PAYROLL,3) then %%$SMS_ACCT_JOB2 resolves to PAYROLL. |
|
%%$SMS_ACCT_STEP# |
The maximum number of step account fields. |
Note: %%$SMS_ACCT_STEP# resolves to the number of fields in the step account information. %%$SMS_ACCT_STEPnnn resolves to the step account information in field number nnn. For example, if the account information in the EXEC card is (SMITH,PAYROLL,3) then %%$SMS_ACCT_STEP2 resolves to PAYROLL. |
|
%%$SMS_ACCT_STEPnnn |
The account information from the EXEC statement. |
Note: %%$SMS_ACCT_STEP# resolves to the number of fields in the step account information. %%$SMS_ACCT_STEPnnn resolves to the step account information in field number nnn. For example, if the account information in the EXEC card is (SMITH,PAYROLL,3) then %%$SMS_ACCT_STEP2 resolves to PAYROLL. |
|
%%$SMS_ACSENVIR |
The environment in which the rule is invoked. Valid values are:
|
%%$SMS_APPLIC |
The name of the RACF application. |
%%$SMS_DD |
The name of the DD statement. |
%%$SMS_DEF_DATACLAS |
The RACF default Data class of the data set owner. |
%%$SMS_DEF_MGMTCLAS |
The RACF default Management class of the data set owner. |
%%$SMS_DEF_STORCLAS |
The RACF default Storage class of the data set owner. |
%%$SMS_DSN |
The data set name. |
Note: %%$SMS_DSN resolves to the complete data set name. To reference a single qualifier of the data set name, use %%$SMS_DSNnnn, where nnn resolves to the number of the qualifier. %%$SMS_NQUAL resolves to the number of qualifiers in the data set name. For example, %%$SMS_DSN%%$SMS_NQUAL returns the rightmost qualifier. |
|
%%$SMS_DSNTYPE |
The data set name type. Valid values are:
|
%%$SMS_DSORG |
The data set organization. Valid values are:
|
%%$SMS_DSOWNER |
The name of the user or group that owns the data set |
%%$SMS_DSTYPE |
The data set type. One of the following:
|
%%$SMS_EXPDT |
The expiration date in the format yyyyddd. |
%%$SMS_FILENUM |
The data set sequence number from the LABEL parameter. |
%%$SMS_GROUP |
The RACF group. |
%%$SMS_JOB |
The job name. |
%%$SMS_LABEL |
The label type. Valid values are:
|
%%$SMS_LIBANAME |
The tape library name. |
%%$SMS_MAXSIZE |
The maximum data set size in KB. |
%%$SMS_MEMN |
The name of the OAM object. |
Note: %%$SMS_MEMN resolves to the full OAM member name. To reference a single qualifier, use %%$SMS_MEMNnnn, where nnn resolves to the number of the qualifier. |
|
%%$SMS_MEMNQUAL |
The number of qualifiers in the OAM object name. |
Note: %%$SMS_MEMN resolves to the full OAM member name. To reference a single qualifier, use %%$SMS_MEMNnnn, where nnn resolves to the number of the qualifier. %%$SMS_MEMNQUAL resolves to the number of qualifiers in the data set name. For example, %%$SMS_MEMN%%$SMS_MEMNQUAL returns the rightmost qualifier. |
|
%%$SMS_MSVGP |
The group name for MSS. |
%%$SMS_NQUAL |
The number of qualifiers in the data set name. |
Note: %%$SMS_DSN resolves to the complete data set name. To reference a single qualifier of the data set name, use %%$SMS_DSNnnn, where nnn resolves to the number of the qualifier. %%$SMS_NQUAL resolves to the number of qualifiers in the data set name. For example, %%$SMS_DSN%%$SMS_NQUAL returns the rightmost qualifier. |
|
%%$SMS_NVOL |
The volume count. |
Note: %%$SMS_VOLUMEnnn resolves to volume number nnn in the volume list. %%$SMS_NVOL resolves to the number of volumes in the volume list. |
|
%%$SMS_PGM |
The program name. |
%%$SMS_RECORG |
The organization of the data set record. Valid values are:
|
%%$SMS_RETPD |
The retention period. |
%%$SMS_SIZE |
The data set primary size in KB. |
%%$SMS_SYSNAME |
The system name. |
%%$SMS_SYSPLEX |
The Sysplex name. |
%%$SMS_UNIT |
The unit name. |
%%$SMS_USER |
The user ID. |
%%$SMS_VOLUME |
The volume name. |
Note: %%$SMS_VOLUMEnnn resolves to volume number nnn in the volume list. %%$SMS_NVOL resolves to the number of volumes in the volume list. |
|
%%$SMS_XMODE |
The execution mode. Valid values are:
|
%%$SMSLEVEL |
The SMS level. |
Control-O can support time-simulation products such as Compuware Xchange. When the Control-O monitor starts with the TYPE parameter set to CONTROLT and a simulation product is active on the same system, the Control-O AutoEdit system variables shown in Table 188 show the value set by the simulation product and not by the system.
Table 188 Time AutoEdit System Variables
Variable |
Description |
---|---|
%%$CENT |
The first two digits in the current year. For example, 20 in the year 2000. |
%%$DATE |
The current system date, in the format yymmdd. |
%%$DAY |
The current system day, in the format dd. |
%%$JULDAY |
The current system day, in the format jjj. |
%%$MONTH |
The current system month, in the format mm. |
%%$ODATE n |
Date when the rule table containing the nth rule in the Rule Stack was ordered. Note: Do not confuse this variable with %%$RDATE, which is the installation current working day. |
%%$OTIME n |
Time when the rule table containing the nth rule in the Rule Stack was ordered. |
%%$RDATE |
The installation current working date, in the format yymmdd. Note: Do not confuse this variable with %%$ODATE, which is the date the rule was ORDERED. |
%%$RDAY |
The installation current working day, in the format dd. |
%%$RJULDAY |
The installation current working day of the year, in the Julian format jjj. |
%%$RMONTH |
The installation current working month, in the format mm. |
%%$RULCRTDATE n |
The date that the nth rule in the Rule Stack was created. |
%%$RULCRTTIME n |
The time that the nth rule in the Rule Stack was created. |
%%$RULUPDDATE n |
The date that the nth rule in the Rule Stack was last updated. |
%%$RULUPDTIME n |
The time that the nth rule in the Rule Stack was last updated. |
%%$RWDAY |
The current working day of the week, in the format d, where d is 1 through 6 or 0 For example, 1=Sunday, 2=Monday, ... 6=Friday, 0=Saturday. Note: The start of the week depends on installation parameters specifying whether 1=Sunday or 1=Monday. Contact your INCONTROL administrator for your site standard. All references assume 1=Sunday, 2=Monday, and so on. |
%%$RYEAR |
The installation current working year, in the format yy. |
%%$TDATE n |
Date when the rule table containing the nth rule in the Rule Stack was ordered. Note: Do not confuse this variable with %%$RDATE, which is the installation current working day. |
%%$TIME |
The time of day, in the format hhmmss. |
%%$TTIME n |
Time when the rule table containing the nth rule in the Rule Stack was ordered. |
%%$WDAY |
The current Gregorian day of the week in the format d, where d is from 1 through 6 or 0. For example, 1=Sunday, 2=Monday, ... 6= Friday, 0=Saturday. |
%%$YEAR |
The current system year, in the format yy. |
Parent Topic |