MSIR.0970: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
<li>The target of a ~ directive is an expression including another ~, making the directive unresovable, leading to:
<li>The target of a ~ directive is an expression including another ~, making the directive unresovable, leading to:
<p class="code>MSIR.0970: Invalid use of '~' directive: must be followed by non-'~' expression</p></li>
<p class="code>MSIR.0970: Invalid use of '~' directive: must be followed by non-'~' expression</p></li>
<li>A ~ directive has been coded that isn't currently supported, the currently supported directives being ~exprE, ~exprS, ~noCont, ~noEll, ~noExpr, and ~raw. This produces the message:
<p class="code>MSIR.0970: Invalid use of '~' directive: unsupported directive 'nnnn'</p></li>
<li>A ~ directive must be coded following the ~ character, and within curly brackets, otherwise the followig message may be produced:
<p class="code>MSIR.0970: Invalid use of '~' directive: invalid directive qualifier 'nnnn'</p></li>
</ul>
</ul>
<p>
<p>

Latest revision as of 10:01, 25 April 2019

MSIR.0970  Invalid use of 'token' directive: token2

A SOUL statement that includes a directive had been coded incorrectly. The following examples relate to use of the tilda directive within targeted text statements ( audittext, printtext, and tracetext ), which is the only directive for which this message would currently be produced :

  • A ~ directive has been coded without a following target expression, enclosed in curly braces, on the same line, in which case the following message is produced:

    MSIR.0970: Invalid use of '~' directive: must be followed by expression on same line

  • The target of a ~ directive is an expression including another ~, making the directive unresovable, leading to:

    MSIR.0970: Invalid use of '~' directive: must be followed by non-'~' expression

  • A ~ directive has been coded that isn't currently supported, the currently supported directives being ~exprE, ~exprS, ~noCont, ~noEll, ~noExpr, and ~raw. This produces the message:

    MSIR.0970: Invalid use of '~' directive: unsupported directive 'nnnn'

  • A ~ directive must be coded following the ~ character, and within curly brackets, otherwise the followig message may be produced:

    MSIR.0970: Invalid use of '~' directive: invalid directive qualifier 'nnnn'

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