M204.2493: Difference between revisions
Jump to navigation
Jump to search
(Automatically generated page update) |
m (add <var>'s) |
||
Line 2: | Line 2: | ||
<P> | <P> | ||
On a | On a <var>Declare</var> statement with the <var>Initial(<i>value</i>)</var> attribute, the %variable being declared is too small for the initial value. This is a warning message only. For example: | ||
</P> | |||
<P class="code">%X IS STRING LEN 3 INITIAL (`ABCDEFGHIJ')</P> | <P class="code">%X IS STRING LEN 3 INITIAL (`ABCDEFGHIJ')</P> | ||
<p> | <p> |
Revision as of 21:09, 19 March 2018
M204.2493 Variable too small for Initial value
On a Declare statement with the Initial(value) attribute, the %variable being declared is too small for the initial value. This is a warning message only. For example:
%X IS STRING LEN 3 INITIAL (`ABCDEFGHIJ')
Response: Increase the size of the %variable, or decrease the size of the initial value.
Message attributes:
RETCODEO=0 | Sets online return code |
---|---|
RETCODEB=0 | Sets batch (single user) return code |
CLASS=I | Information class; the message can be suppressed with the X'02' bit setting of the MSGCTL parameter |
AUDITMS | Writes the message with line type MS to the audit trail |
NOCOUNT | Does not increment the error count (ERCNT) parameter |
ECHO | Displays the line that caused the error |