The main procedure cannot be called from this module when it is an external program call.
30
Cause . . . . . : The main procedure can only be called from the same module by a bound call. The EXTPGM keyword on the prototype for the main procedure indicates that a dynamic call is to be made.
Recovery . . . : Remove the EXTPGM keyword from the prototype for the main procedure or remove the CALLP operation. Compile again.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.