Rational Developer for System z

CRRZE7315W

String element {element name} in message {message name} does not have a length value. A default length value is assumed.

Explanation

A length value was not specified for the String element. A default length value of 255 was used.

User response

To set a value for the referenced message element:

  1. Use the flow message editor to open the message file that contains the message.

  2. In the editor area, select the Properties tab.

  3. In the Outline view, in the Types hierarchy, select the type specification of the element that was specified in the error message:
    1. In the Outline view, expand Types.
    2. Expand the complex type to which the element specified in the error message belongs.
    3. Within the complex type, expand the element that was specified in the error message.
    4. Within the element, select the simple type xsd:string.

    In the editor area, in the left pane, the flow message editor displays the Properties Hierarchy for this instance of the simple type xsd:string.

  4. In the editor area, in the Properties Hierarchy, select Logical properties > Value Constraints.

  5. In the right pane, in the Length Constraints group, in the Max field, type the maximum value that you want to use.

The maximum length for the element is set to the value that you typed in the Max field.


Terms of use | Feedback

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