HP 3000 Manuals

Ap A. Descriptions of cob Error Messages [ Micro Focus COBOL System Reference, Volume 2 ] MPE/iX 5.0 Documentation


Micro Focus COBOL System Reference, Volume 2

Appendix A  Descriptions of cob Error Messages 

Any of the Micro Focus COBOL components invoked by the cob command may
return their own error messages.  These are documented in full in your
Error Messages.  However, in addition to these messages the cob command
may output its own error messages.  Most of these messages are
self-explanatory, but the following are worthy of special note:

options clash:  option-names  

   *   The options which you have specified to the cob command are not
       valid.

argument expected:  option-name  

   *   The specified option requires an argument.

entry defined:  entryname-1 conflicting "main" found in entrypoint-2 

   *   You have defined the symbol "main" in a module other than the
       specified entry point module.  Note that if the first program
       specified to cob when building an executable is a COBOL module,
       the COBOL system "main" routine will be linked in from the COBOL
       libraries.

entry:  entryname does not have " main " defined

   *   The specified entry point module (which is a non-COBOL module)
       does not define the symbol " main ".  This is the compulsory entry
       point for any non-COBOL modules that are specified as the first
       program on the cob command line when building an executable file.

invalid entry point name:  entryname 

   *   The specified entry point symbol is not a valid symbol name.
       Valid symbol names can consist of any of the characters a through
       z, A through Z, 0 through 9 or the underscore ( _ ).  A name
       cannot begin with a digit.

cobol version number invalid - Call Technical Support  

   *   The contents of the cobver file are incorrect.

I see no use for file-name 

   *   cob is unable to process the files you have specified as they have
       already been progressed beyond the specified end-point, or the
       specified options are not recognized.

I see no work 

   *   You have specified inappropriate parameters which do not match the
       options you have used.

COBOL compiler argument exceeds 128 byte limit 

   *   You must amend the offending argument to ensure it does not exceed
       this limit.



MPE/iX 5.0 Documentation