MSIR.0798 Explicit (globses) name required for shared variables

From m204wiki
(Redirected from MSIR.0798)
Jump to navigation Jump to search

A shared class variable was declared as Global or Session but no global or session name was specified. While non-class global or session variables use the variable name (without the leading percent) as their global or session name if one is not specified, shared variables do not.

Specify an explicit global name, as in the following example:

class silly public shared variable absurd is object stringList shared('SILLY:ABSURD') end public shared end class


Message attributes:

RETCODEO=0Sets online return code
RETCODEB=4Sets batch (single user) return code
CLASS=EError class; the message can be suppressed with the X'04' bit setting of the MSGCTL parameter
AUDITERWrites the message with line type ER to the audit trail
COUNTIncrements the error count (ERCNT) parameter
ECHODisplays the line that caused the error

Back to list of messages