The NOMAIN keyword is not valid when the CRTBNDRPG command is used to create a program.
20
Cause . . . . . : The NOMAIN keyword indicates that there is no main procedure, but a main procedure is necessary to create a program. The NOMAIN keyword is ignored.
Recovery . . . : Remove the NOMAIN keyword or use the CRTRPGMOD command to create a module. Compile again.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.