M204.2493: Difference between revisions
Jump to navigation
Jump to search
m (add space) |
m (add link) |
||
Line 2: | Line 2: | ||
<P> | <P> | ||
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: | On a <var>Declare</var> statement with the <var>[[Using variables and values in computation#Declare statements for %variables|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> | ||
<P class="code">%X IS STRING LEN 3 INITIAL (`ABCDEFGHIJ')</P> | <P class="code">%X IS STRING LEN 3 INITIAL (`ABCDEFGHIJ')</P> |
Latest revision as of 19:59, 2 July 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 |