Top
NetCOBOL V11.0 J Adapter Class GeneratorUser's Guide
FUJITSU Software

A.2 Messages Output during Generation

This section explains the messages output during adapter class generation, including the operator responses to the messages.

The message format is shown below:

Message type:  Message text

The message types are shown below:

Message type

Level

Meaning

Error

Severe

No adapter class is generated.

Warning

Cautionary

An adapter class is generated. However, the user must check whether it has been generated as expected.

Warning:  An invalid option "Option-name" was specified.  The option was ignored to continue processing.

  • Specify a valid option and retry.

Warning:  "specified-name" specified for class "class-name" was not generated.  Check the specified name (and parameter).

Warning:  A valid directory name was missing.  The option was ignored to continue processing.

  • Specify a valid folder name and retry.

Warning:  The generation name management file could not be generated.

  • Check whether the correct folder name was specified in the -d option or "Option OutPutPath" parameter, or whether the generation name management file (java2cob.mgt) is write-protected, then retry.

Warning:  The name of class "class-name" exceeded 160 characters.  The characters after the first 160 characters were deleted.

  • Check whether deleting the characters after the first 160 characters results in an unusable name.

Warning:  The property name of field "field-name" exceeded 30 characters.  The characters after the first 30 characters were deleted.

  • Check whether deleting the characters after the first 30 characters results in an unusable name.

Warning:  The name of method "method-name" exceeded 160 characters.  The characters after the first 160 characters were deleted.

  • Check whether deleting the characters after the first 160 characters results in an unusable name.

Warning:  The method name of constructor "constructor-name" exceeded 160 characters.  The characters after the first 160 characters were deleted.

  • Check whether deleting the characters after the first 160 characters results in an unusable name.

Error:  A required class name or interface name was missing.  Generation was interrupted.

  • Specify a valid class name or interface name and retry.

Error:  An invalid class name "class-name" was specified.  Specify a Java class name or interface name qualified by a package name.

  • Specify a valid class name or interface name and retry.

Error:  An invalid directory name "directory-name" was specified.  Generation was interrupted.

  • Specify a valid directory name and retry.

Error:  The suffix number exceeded 99.  Generation was interrupted.

  • Retry while specifying -r option, -gc option, -gm option, -gf option, -om option, constructor/method/field-specifying-option in "Class class-name/interface-name" parameter, or "Option ReduceClass" parameter to decrease the number of classes, fields (variables), or methods.

Error:  The status of file "file-name" is invalid for generation.  Check the file status.

  • Check the file status (whether the folder name specified in the -d option or "Option OutPutPath" parameter is valid or whether the file is write-protected), then retry.

Error:  An error occurred during writing to file "file-name".

  • Check whether the output destination has enough free space, then retry.

Error:  Both of the -om option (Option ReduceClass) and the -r option (Option GenOnlyUsed) cannot be specified at the same time.  Generation was interrupted.

  • Specify either -om option (or "Option ReduceClass" parameter) or the -r option (or "Option GenOnlyUsed" parameter) and re-execute the processing. The -r option (or "Option GenOnlyUsed" parameter) is recommended.

Error:  Both of the -om option (Option ReduceClass) and the -s option (Option String) cannot be specified at the same time.  Generation was interrupted.

  • Specify either -om option (or "Option ReduceClass" parameter) or the -s option (or "Option String" parameter) and re-execute the processing.

Error:  Failed to open the optional file.  Check the file status.  Generation was interrupted.

  • Check status of the optional file (if the filename that is specified with the -i option is correct, if the file is set to read protection), and re-execute the processing.

Error:  An invalid definition "specified-item" was specified in the optional file.  The definition was ignored to continue processing.

  • Specify the correct definition and re-execute the processing.

Error:  Class information was not found.  Generation was interrupted.

Error:  A memory space shortage occurred.  Generation was interrupted.

  • Terminate unnecessary applications and retry.

Error:  A system error occurred.  Generation was interrupted.

  • The J adapter class generator failed. Collect failure information. Please open a support incident to obtain assistance from a supplier.