MSIR.1029: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:
<li>If an attribute is defined as datatype string, and a non-string constant value is defined, then the following message is produced:
<li>If an attribute is defined as datatype string, and a non-string constant value is defined, then the following message is produced:
<p class="code>MSIR.1029: Attribute error: attribute value must be a string constant</p>
<p class="code>MSIR.1029: Attribute error: attribute value must be a string constant</p>
Similar messages can be produced if there is a mismatch between a defined value and FLOAT or UNICODE datatypes. </li>
Similar messages can be produced if there is a mismatch between a defined value and float or unicode datatypes. </li>
<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>

Revision as of 12:14, 15 March 2019

MSIR.1029  Attribute error: token

This error typically indicates incorrect use of an attribute within an enumeration block or metod.. 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.
  • 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

Response:

Message attributes:

RETCODEO=0Sets online return code
RETCODEB=4Sets batch (single user) return code
CLASS=EError class; the message can be suppressed with the X'04' bit setting of the MSGCTL parameter
AUDITERWrites the message with line type ER to the audit trail
COUNTIncrements the error count (ERCNT) parameter
ECHODisplays the line that caused the error

Back to list of messages