RNF3777

Main procedure-interface definition uses prototype with undefined or variable callee.

30

Cause . . . . . : The name of the program or procedure to be called, indicated by the prototype of the main procedure, must be defined before the main procedure-interface is specified. The value of the EXTPROC keyword, if specified, cannot be a procedure pointer, and the value of the EXTPGM keyword, if specified, cannot be a field name. The interface definition is ignored.

Recovery . . . : Change the value of the EXTPROC or EXTPGM keyword on the prototype of the main procedure to be a constant, or place the definition of the constant before the main procedure-interface definition. Compile again.