gtpg2m1tGeneral Macros

ENTRC-Enter Program with Expected Return

This general macro transfers control to the specified operational program. The current active program remains held by the entry control block (ECB). The address of the next sequential instruction (NSI) in the current program is saved for an expected return.

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 V-con resolved at link edit time into a Program Attribute 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.

prog
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

Return Conditions

Programming Considerations

Examples

None.