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)
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
end class</p>
end class</p>


[[Category:Sirius Mods messages]] [[Category:MSIR.0600 - MSIR.0799]]
{{Template:MSIR.0798 footer}}
[[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