MSIR.0790 Non-readOnly property cannot be called THIS
Jump to navigation
Jump to search
A non-readOnly property has a Set method. In the Set method, the name of the input value is the same as the name of the property. If a non-readOnly property is called this, it means that the input value to the Set method would be referred to with the variable %this. But %this is always defined to reference the method object. This means that a non-readOnly property would produce an ambiguity in the meaning of %this inside the Set method, so it is not allowed.
Use another name for the property.
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 |