Program termination

A program is terminated when the main procedure is terminated. Whether termination is normal or abnormal, control returns to the calling program.

In Example: Main procedure invoking external procedures, when control transfers from the C procedure back to the Contrl procedure, Contrl terminates.