Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Error messages and error handling

The following table provides an overview of the error messages that may be output by the tool Cobol2Java:

No

Errors

Error handling

1

No compatible XSLT Processor found.

Check whether all the required JAR files are present in the Cobol2Java lib directory.

2

TransformerFactoryConfigurationError

See 1.

3

Could not create file <name>

Please make sure that you possess the necessary data access authorizations for the data medium.

4

No Record/Field <name> found in specified XML document

The name of the data structure is incorrect. Please check.

5

WARNING! Multiple occurrence of <name>

The document contains multiple structures with the specified name. In this case, there is no generation.

If a data element that is not supported by Cobol2Java is encountered then a generic data element of type PicU is generated. Developers can access the information relating to this element by means of getBytes/setBytes.

Error handling in the Cobol2Java classes is based on COBOL and is extremely tolerant. Input data longer than the field it is to be stored in is truncated to the destination field length. Invalid inputs, for example the input of an invalid number, result in the generation of a NumberFormatException.