gtpg2m16General Macros

CREMC-Create a New ECB for Immediate Entry

This general macro creates an independent entry control block (ECB) for immediate 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 this data into an interim block of available storage and adds this block to the Ready List. Operational Program Zero (OPZERO) 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.

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 via the PROGRAM parameter. This method generates constant data which will be used at execution time to determine the Program Allocation Table (PAT) displacement. This method has a longer path length than the one described above.

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

None.