Previous Topic: How IMOD Variables Are AccessedNext Topic: REXX Global Variables


Predefined Variables

The following predefined variables are available to IMODs. The predefined variables have their values that are already assigned when an IMOD is entered. All predefined variables are reserved. If you change the value of a predefined variable, the new value is not passed to external subroutines.

imod_ascb

The address of the address space control block (ASCB) responsible for triggering this IMOD. The value is an integer.

imod_asid

The ASID of the address space responsible for triggering this IMOD. The value is an integer.

imod_console

The ID of the console responsible for triggering this IMOD. The value is a positive integer. The value is zero if an operator command did not trigger the IMOD.

imod_group

Identifies the security group that is assigned to the task that triggered this IMOD.

imod_id

The ID assigned to the IMOD. The value is an integer. The value is used for external stack references and by the CANCEL CA-GSS/ISERVE operator command.

imod_ilog

Identifies the ILOG file that is the destination for the triggering WTO text. The value is blank if it is not applicable or if logging is not requested.

imod_jobid

The ID of the job responsible for triggering this IMOD (for example, JOB 4321). The value is blank if a WTO message did not trigger the IMOD.

imod_jobname

The name of the job responsible for triggering this IMOD. The value is blank if a WTO message did not trigger the IMOD.

imod_level

The nesting level of external IMOD subroutine calls.

imod_lines

The number of lines in the WTO message responsible for triggering this IMOD. The value is zero if a WTO message did not trigger the IMOD.

imod_msg.n

The text of the nth line of the WTO message that triggered the IMOD (for example, imod_msg.1 is the text of the first message line). This information is also present as REXX arguments.

imod_node

The name of the GoalNet node where this IMOD is processing.

imod_oursmfid

The SMF ID of the system where ISERVE is executing.

imod_oursysname

The system name of the system where ISERVE is executing.

imod_replyid

The reply ID of the WTOR message responsible for triggering this IMOD. The value is a null string if a WTOR message did not trigger the IMOD.

imod_sysname

The name of the GRS system where the triggering WTO message was issued (usually, the system where CA‑GSS is executing). The value is blank if a WTO message did not trigger this IMOD.

imod_timestamp

The timestamp, in hh.mm.ss format, of the triggering WTO message. The value is blank if a WTO message did not trigger the IMOD.

imod_userid

The user ID assigned to the task that triggered the IMOD.