M204.2161
M204.2161 Secondary declarations of globals must specify 'Common'
When a Screen or Image is to be declared global, the Global keyword must appear on the initial declaration and may not appear on subsequent declarations.
The following is an example of an erroneous secondary declaration (in the subroutine):
Screen XYZ Global End Screen
Subroutine ABC (%a) Declare Screen XYZ Global End Subroutine
Response: Change the Global keyword on the Declare statement to Common.
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 |
COMPILE | Compilation error |