M204.2490
Jump to navigation
Jump to search
M204.2490 Illegal assignment to static %variable
An attempt was made to assign a value to a variable declared with the Static attribute. Static variables may not be the target of an assignment statement, and they may not be used as Inout or Output subroutine parameters for a complex subroutine.
Response: If the variable needs to be modified, remove the Static attribute from the declaration. Otherwise, remove or change the assignment statement.
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 |
ECHO | Displays the line that caused the error |