gtpg2m1rGeneral Macros

ENTDC-Enter a Program and Drop Previous Programs

This general macro transfers control to the specified operational program and releases all program records held by the entry control block (ECB).

Format




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

prog
The name of the program that is to be entered. This method generates a VCON 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 longer path length than the one described above.

program_name
The name of the program that is to be entered.

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

Entry Requirements

R9 must contain the address of the ECB being processed.

Return Conditions

Control is never returned to a program that issues the ENTDC macro.

Programming Considerations

Examples

None.