MSIR.0798 Explicit (globses) name required for shared variables: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
(Automatically generated page update)
 
Line 9: Line 9:


{{Template:MSIR.0798 footer}}
{{Template:MSIR.0798 footer}}
[[Category:Sirius Mods messages]] [[Category:MSIR.0600 - MSIR.0799]]
[[Category:MSIR.0600 - MSIR.0799]]

Latest revision as of 23:34, 3 March 2017

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