MSIR.0783 Already have (setorget) method for property: Difference between revisions
Jump to navigation
Jump to search
(Automatically generated page update) |
(Automatically generated page update) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
This is a compilation error for a class or structure definition. Property definitions require a single Get method, a single Set method, or one of each of these types depending on whether the property is ReadOnly, | This is a compilation error for a class or structure definition. Property definitions require a single <var>Get</var> method, a single <var>Set</var> method, or one of each of these types depending on whether the property is <var>ReadOnly</var>, <var>WriteOnly</var>, or <var>ReadWrite</var>, respectively. | ||
[[Category: | A likely cause of this error is mistakenly typing <var>Set</var> when <var>Get</var> is meant, or vice versa. | ||
{{Template:MSIR.0783 footer}} | |||
[[Category:MSIR.0600 - MSIR.0799]] |
Latest revision as of 23:34, 3 March 2017
This is a compilation error for a class or structure definition. Property definitions require a single Get method, a single Set method, or one of each of these types depending on whether the property is ReadOnly, WriteOnly, or ReadWrite, respectively.
A likely cause of this error is mistakenly typing Set when Get is meant, or vice versa.
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 |