Rational Developer for System z, Version 7.6

Adding explicit error messages

You can indicate additional error messages which correspond to errors described with specific code.

About this task
You indicate explicit error messages for all the errors triggered by non-standard controls. This must be done in the -GE Lines section of the-G Lines tab in the Data Structure or Segment editors. You must:
  1. Describe these explicit error messages with specific code. Since only two Programs containing error messages can be associated with the transaction Data Structure, it may be convenient to define separate Programs (or Macros) just to contain these messages. Using only one Macro to store the explicit error messages of an application is recommended.
  2. Associate the explicit error messages with the errors by using the UT-UPR(n) User Error Table, which is generated with the ERUT error variable. Error messages are positioned according to the error number (example: 001 then 002). In order to specify the adequate error message, you must use the instruction Move '1' into UT-UPR(n), where n is the error message number.
  3. Associate the error message Program(s) with the transaction in the Comment field of the Definition section of the transaction Data Structure Overview tab in the following way.
    Position Content
    1 Blank
    2 E (required value)
    3 à 8 First program with error messages
    9 à 14 Second program with error messages
What to do next
You need to generate the error message file.

Terms of use | Feedback

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