Link to another program expecting return
If the program receiving control is not already in main storage, it is loaded. When a RETURN command is processed in the linked program, control is returned to the program initiating the link at the next sequential process instruction.
The linked program operates independently of the program that issues
the LINK command regarding handling exception conditions, attention
identifiers, and abends. For example, the effects of HANDLE commands
in the linking program are not inherited by the linked-to program,
but the original HANDLE commands are restored on return to the
linking
program. You can use the HANDLE ABEND command to deal with abnormal
terminations in other link levels.
Figure 1
shows
the concept of logical levels.
Figure 1. Application
program logical levels
