Previous Topic: $SRV_TPCFNext Topic: Compiler Directive Statements


Special Purpose IMODs

$USER_ILOG_FULL

The $USER_ILOG_FULL IMOD is invoked as a subroutine call from $INT_ILOG_FULL whenever an ILOG subfile is filled. Upon return, the ILOG subfile is placed in RESET status and is eligible for reuse, as needed.

Arguments

Two arguments are passed to the IMOD - the ILOG file number, and the subfile number within the ILOG. These values are numeric and are separated by blanks in standard REXX form.

Return Values

$USER_ILOG_FULL can return a text string to the caller. The value of this string determines the final disposition of the ILOG subfile as shown in the following table.

Value

Explanation

RESET

The ILOG subfile is reset and is reused when needed.

null

The ILOG subfile is not reset. Reset the subfile manually before CA-GSS can re-use it. If any text string other than RESET is returned, a null string is assumed.

Usage Notes

Example

A complete example of $USER_ILOG_FULL can be found in the EXAMPLE ISET.

INITIALIZATION

The INITIALIZATION IMOD is used during the CA-GSS initialization as its own IMOD task. Other processing continues simultaneously.

Arguments

No arguments are passed to this IMOD.

Initial Stack Records

CA-GSS processes the CAW0OPTN data set before invoking the INITIALIZATION IMOD. The text from each USER statement in this data set is passed, using the stack, to the INITIALIZATION IMOD.

Return Values

If this IMOD returns any results, they are ignored.

TERMINATION

The TERMINATION IMOD is invoked as an IMOD task during ISERVE address space termination and occurs when a STOP command is received. Processing of the TERMINATION IMOD proceeds until it completes or a STOP FORCE command is entered. STOP FORCE immediately terminates all processing. This IMOD is not entered during an abnormal shutdown.

Arguments

No arguments are passed to the IMOD.

Return Values

If this IMOD returns any results, they are ignored.