RNF1514

A procedure cannot be exported when the external name is the same as the main procedure.

30

Cause . . . . . : When the external name of a subprocedure is the same as the name of the main procedure, the procedure cannot be exported. The external name of the subprocedure is the name specified for the EXTPROC keyword; or if the EXTPROC keyword was not specified, it is the upper-cased form of the name in positions 7 - 21. The name of the main procedure is the same as the name of the module or program being created. The EXPORT keyword is ignored.

Recovery . . . : Remove the EXPORT keyword, change the external name of the subprocedure, or specify a different name when creating the module or program. Compile again.