MSIR.1029: Difference between revisions
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
<!--Test SOUL.DNC.014.QA in QASHR exercises at least some MSIR.1029 cases. PDS-6626 --> | <!--Test SOUL.DNC.014.QA in QASHR exercises at least some MSIR.1029 cases. PDS-6626 --> | ||
<p> | <p> | ||
This error typically indicates incorrect use of an attribute within an enumeration block or | This error typically indicates incorrect use of an attribute within an enumeration block or method. The following examples are among the texts that might appear with this message: | ||
</p> | </p> | ||
<ul> | <ul> | ||
Line 14: | Line 14: | ||
<li>The attribute section of a value declaration must be enclosed in parentheses, otherwise the following message is produced: | <li>The attribute section of a value declaration must be enclosed in parentheses, otherwise the following message is produced: | ||
<p class="code>MSIR.1029: Attribute error: missing attributes section </p> | <p class="code>MSIR.1029: Attribute error: missing attributes section </p> | ||
<li>If an attribute value has multiple possible inverses, implying that the value cannot be inversed uniquely, then the following message is produced: | |||
<p class="code>MSIR.1029: Attribute error: Duplicate values specified for invertible attribute </p> | |||
<li>Other possible flavours of the message include: | <li>Other possible flavours of the message include: | ||
<p class="code>MSIR.1029: Attribute error: too many attributes</p> | <p class="code>MSIR.1029: Attribute error: too many attributes</p> |
Latest revision as of 14:10, 20 March 2019
MSIR.1029 Attribute error: token
This error typically indicates incorrect use of an attribute within an enumeration block or method. The following examples are among the texts that might appear with this message:
- An attribute is declared after a value declaration in an enumeration block - all attributes must be declared before any value is declared. In this case, the following message is produced:
MSIR.1029: Attribute error: attribute declared after start of values
- If an inverse is declared for an enumeration attribute without specifying the inverse method, the following message is produced:
MSIR.1029: Attribute error: Incomplete inverse attribute declaration
- If an attribute is defined as datatype string, and a non-string constant value is defined, then the following message is produced:
MSIR.1029: Attribute error: attribute value must be a string constant
Similar messages can be produced if there is a mismatch between a defined value and float or unicode datatypes. - The attribute section of a value declaration must be enclosed in parentheses, otherwise the following message is produced:
MSIR.1029: Attribute error: missing attributes section
- If an attribute value has multiple possible inverses, implying that the value cannot be inversed uniquely, then the following message is produced:
MSIR.1029: Attribute error: Duplicate values specified for invertible attribute
- Other possible flavours of the message include:
MSIR.1029: Attribute error: too many attributes
MSIR.1029: Attribute error: name/value missing
MSIR.1029: Attribute error: named attribute expected
MSIR.1029: Attribute error: invalid value for an enumeration attribute
MSIR.1029: Attribute error: Unicode value too long (>127 characters)
MSIR.1029: Attribute error: invalid syntax
MSIR.1029: Attribute error: too many attribute values
Response:
Message attributes:
RETCODEO=0 | Sets online return code |
---|---|
RETCODEB=4 | Sets batch (single user) return code |
CLASS=E | Error class; the message can be suppressed with the X'04' bit setting of the MSGCTL parameter |
AUDITER | Writes the message with line type ER to the audit trail |
COUNT | Increments the error count (ERCNT) parameter |
ECHO | Displays the line that caused the error |