MSIR.0798 Explicit (globses) name required for shared variables: Difference between revisions
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> | ||
{{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=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 |