The EXTPGM or EXTPROC keyword is not allowed when a prototype has been specified.
20
Cause . . . . . : The EXTPGM and EXTPROC keywords may be specified for the Procedure Interface only when a prototype has not been specified for the program or procedure.
Recovery . . . : Remove the EXTPGM or EXTPROC keyword from the Procedure Interface, or remove the prototype.