Program Relationship Projections

Explicitly defined calls (using the CALL macro or the commands described in “Using the External Name in a Call” below) are autoresolved at verification. Otherwise, decisions for external calls need to be resolved manually.

Getting the External Name

The following Assembler statements prepare the value of the register with an external name or memory address to which a subsequent call may be resolved.

Example Type External in
L reg, =A(external)
command Reg
L reg, =V(external)
command reg
LOAD EP=external 
				  
system macro register 0
LOAD EP=name, LOADPT=external
system macro register 0
name DC =V(external)
L reg, name
command reg

Using the External Name in a Call

The following Assembler statements create calling relationships from the program object to a program entry point or program entry decision.

Example Type Relationship Entry Point
CALL reg
system macro Program Calls Program Entry Point

Program Calls Program Entry Decision

reg
CALL name
system macro Program Calls Program Entry Point

Program Calls Program Entry Decision

name
BAR reg., reg.
command Program Calls Program Entry Point

Program Calls Program Entry Decision

reg.
BAR reg., reg.
command Program Calls Program Entry Point

Program Calls Program Entry Decision

reg.
BASS reg., reg. 
command Program Calls Program Entry Point

Program Calls Program Entry Decision

reg.

Defining Program Entry Point

The following Assembler statements create Has Program Entry Point relationships for the program.

Example Type Relationship Entry Point
name SECT.
system macro Program Has Program Entry Point name
ENTRY name
system macro Program Has Program Entry Point name