Procedure-interface definition not allowed in main source section when NOMAIN is specified.
30
Cause . . . . . : When the NOMAIN keyword is specified on the Control specification, a procedure-interface definition is not allowed in the main source section. The procedure-interface definition is ignored.
Recovery . . . : Remove the procedure-interface definition, or remove the NOMAIN keyword from the Control specification. Compile again.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.