From the 3.4 Programming Guide:

Calling alternate entry points

Static calls to alternate entry points work without restriction.

Dynamic calls to alternate entry points require the following elements:
v Either explicitly specified NAME or ALIAS linkage-editor or binder control 
statements, or use of the NAME compiler option which generates them
automatically.
v An intervening CANCEL for any dynamic call to the same module at a different 
entry point. CANCEL causes the program to be invoked in initial state when it is
called at a new entry point.

You can specify another entry point at which a program will begin running by 
using the ENTRY label in the called program. However, this method is not 
recommended in a structured program.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to