gtpg2m19General Macros

CREXC-Create a Low Priority Deferred Entry

This general macro creates an independent entry control block (ECB) for deferred processing by the requested program. The ECB is created on the same I-stream, in the same subsystem, and subsystem user as the creating ECB.

A variable number of bytes (0-104) is passed to the created ECB work area. The control program moves the data into an interim block of available storage and adds this block to the deferred processing list. Operational Program Zero will initialize an ECB with the data in the work area, release the interim block, and execute an Enter with No Return (ENTNC) to the specified program.

CREXC is a specialized macro very similar to the CREDC Macro. The difference is that CREXC requires that a larger number of storage blocks be available to allow execution. It is recommended that the CREXC macro be used by programs that create many entries. This will ensure normal system operation without impairment, which could be caused by a depletion of storage blocks.

Format




label
A symbolic name can be assigned to the macro statement.

prog
The name of the program that is to be activated with the created ECB. This method generates a V-CON which is resolved at link edit time into a Program Allocation Table (PAT) displacement. This is the preferred method for specifying the program name.

PROGRAM
The name of the program can alternately be provided using the PROGRAM parameter. This method generates constant data which will be used at execution time to determine the PAT displacement. This method has a slightly longer path length than the positional parameter method.

prog
The name of the program that is to be activated with the created ECB.

(Rx)
A register (R0-R7) that contains the address of the program name.

Entry Requirements

Return Conditions

Programming Considerations

Examples

CREXC PROGRAM=MINE

This call to CREXC activates the MINE program.