MSIR.1029: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
No edit summary
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>
Description
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:
</p>
</p>
<ul>
<li>An attribute is declared after a value declaration in an enumeration block - all attributes must be decalred before any value is declared. In this case, the following message is produced:
<p class="code>MSIR.1029: Attribute error: attribute declared after start of values</p></li>
<li>A common alias cannot be defined for a local method. In this case, the following message is produced:
<p class="code>MSIR.0986: Common alias not allowed for local method </p></li>
<li>An alias defined for a non-enhancement method must not be specified for an enhancement method, and vice versa. In this case, one of the following messages might be produced:
<p class="code>MSIR.0986: Non-enhancement local alias not allowed for enhancement method
</p>
<p class="code>MSIR.0986: Enhancement local alias not allowed for non-enhancement method </p>
<p class="code>MSIR.0986: Non-enhancement common alias not allowed for enhancement method</p>
</li>
</ul>
<p>
<p>
<b>Response:</b>
<b>Response:</b>
</p>
</p>
{{Template:MSIR.1029 footer}}
{{Template:MSIR.1029 footer}}

Revision as of 15:16, 13 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 decalred before any value is declared. In this case, the following message is produced:

    MSIR.1029: Attribute error: attribute declared after start of values

  • A common alias cannot be defined for a local method. In this case, the following message is produced:

    MSIR.0986: Common alias not allowed for local method

  • An alias defined for a non-enhancement method must not be specified for an enhancement method, and vice versa. In this case, one of the following messages might be produced:

    MSIR.0986: Non-enhancement local alias not allowed for enhancement method

    MSIR.0986: Enhancement local alias not allowed for non-enhancement method

    MSIR.0986: Non-enhancement common alias not allowed for enhancement method

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