External procedure on prototype for main procedure is not same as actual external name.
30
Cause . . . . . : The procedure specified on the prototype definition for the main procedure must be the same as the program or module being created. The name specified on the prototype definition is the value of the EXTPROC keyword, or if the EXTPROC keyword is not specified, it is the name in positions 7 - 21, in uppercase. The procedure interface definition is ignored.
Recovery . . . : Change the external name specified on the prototype or specify a different name on the CRTBNDRPG or CRTRPGMOD command. Compile again.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.