MSIR.0737 Assignment from (type) must be to (type): Difference between revisions
Jump to navigation
Jump to search
(Created page with "The target of an assignment from an object variable was not an object or the target of an assignment to a structure variable was not a structure. Not only is this not allowed, it...") |
(Automatically generated page update) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
The target of an assignment from an object variable was not an object or the target of an assignment to a structure variable was not a structure. Not only is this not allowed, it really doesn't make any sense so, presumably, this is a logic error in the program that should be corrected. If the source of the assignment is the result of a method, it is likely that there is a misunderstanding of the method result type, or, perhaps, the wrong method is being used. In such a case, check the documentation for the class to determine the method output type, and the appropriate method to use. | The target of an assignment from an object variable was not an object or the target of an assignment to a structure variable was not a structure. Not only is this not allowed, it really doesn't make any sense so, presumably, this is a logic error in the program that should be corrected. If the source of the assignment is the result of a method, it is likely that there is a misunderstanding of the method result type, or, perhaps, the wrong method is being used. In such a case, check the documentation for the class to determine the method output type, and the appropriate method to use. | ||
[[Category: | {{Template:MSIR.0737 footer}} | ||
[[Category:MSIR.0600 - MSIR.0799]] |
Latest revision as of 23:34, 3 March 2017
The target of an assignment from an object variable was not an object or the target of an assignment to a structure variable was not a structure. Not only is this not allowed, it really doesn't make any sense so, presumably, this is a logic error in the program that should be corrected. If the source of the assignment is the result of a method, it is likely that there is a misunderstanding of the method result type, or, perhaps, the wrong method is being used. In such a case, check the documentation for the class to determine the method output type, and the appropriate method to use.
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 |