Rational Developer for System z, Version 7.6

Batch error messages: automatic or explicit messages

There are two types of batch error messages: the automatic messages which are generated from the controls entered on the Segment description, and the explicit messages which are user-defined.

AUTOMATIC ERROR MESSAGES

Automatic error messages correspond to the controls entered on the Segment -CE Lines.

They consist of two consecutive parts:
  • A message corresponding to the error type and therefore to the type of control being performed. These standard error messages are stored in one of the System files but they can be modified on-site by the Database Administrator. (example: INVALID ABSENCE OF THE DATA ELEMENT)
  • The Data Element name in the Repository (example: ORDER NUMBER).
Once concatenated, these two parts give the following error message: INVALID ABSENCE OF THE DATA ELEMENT ORDER NUMBER.

You can modify these messages and/or supplement them with documentary text.

EXPLICIT ERROR MESSAGES

Only the controls coded on the Data element calls in Segments cause error messages to be automatically generated. For all the other types of errors, detected by other controls, error messages must be defined explicitly with specific code.

These messages must then be attached to the transaction Data Structure to which they apply. Any program with appropriate messages may be associated with the transaction. However since two programs maximum can be associated, it is advised to design a program or two whose only purpose is to contain these messages.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)