M204.2985: Difference between revisions
| No edit summary | No edit summary | ||
| Line 24: | Line 24: | ||
| <b>Invalid null conversion</b> | <b>Invalid null conversion</b> | ||
| <p> | <p> | ||
| An attempt has been made to convert a null string into a numeric data type: This is not allowed | An attempt has been made to convert a null string into a numeric data type: This is not allowed, | ||
| </p> | </p> | ||
| <p> | <p> | ||
| <b>Invalid numeric conversion</b> | <b>Invalid numeric conversion</b> | ||
| <p> | |||
| An attempt has been made to convert a string into a numeric data types for which there is no equivalent number: This is not allowed | An attempt has been made to convert a string into a numeric data types for which there is no equivalent number: This is not allowed | ||
| </p> | </p> | ||
| </p> | </p> | ||
| <p><b>Version introduced:</b> | <p><b>Version introduced:</b> | ||
| 7.9 | |||
| </p> | </p> | ||
| {{Template:M204.2985 footer}} | {{Template:M204.2985 footer}} | ||
| [[Category: Pending messages]] | [[Category: Pending messages]] | ||
Revision as of 00:08, 22 October 2025
M204.2985 EVALOPT trapped error: token
EVALOPT has trapped one of the following Errors
- Variable too small for result
- Invalid null conversion
- Invalid numeric conversion
Response:
Variable too small for result
In an assignment statement, the %variable on the left side of the statement is too small to contain the value of the numeric expression on the right side of the statement Change the length or format of the %variable on the left side of the expression to accommodate the size number generated, or reduce the size of the value generated. Retry the request.
Invalid null conversion
An attempt has been made to convert a null string into a numeric data type: This is not allowed,
Invalid numeric conversion
An attempt has been made to convert a string into a numeric data types for which there is no equivalent number: This is not allowed
Version introduced: 7.9
Message attributes:
| RETCODEO=0 | Sets online return code | 
|---|---|
| RETCODEB=4 | Sets batch (single user) return code | 
| CLASS=E | Error class; the message can be suppressed with the X'04' bit setting of the MSGCTL parameter | 
| AUDITER | Writes the message with line type ER to the audit trail | 
| COUNT | Increments the error count (ERCNT) parameter |