MSIR.0766 (Vartype) can't be Global or Session
(Redirected from MSIR.0766)
An attempt was made to declare a variable as Global or Session but that variable was not an object. If the variable is a simple datatype or a structure, that datatype or structure can be embedded inside a class and then an object variable of that class could be declared global. A little awkward, perhaps, but not too difficult. If the variable is an array, it might be easiest to define the variable as a collection, instead. For more information about collections see the Janus SOAP Reference Manual.
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 |