MSIR.0809 Disallow only valid in Public block: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
 Automatically generated page update  | 
				 Automatically generated page update  | 
				||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
A <  | A <var>Disallow</var> declaration appeared in a Private block. <var>Disallow</var> is only intended to restrict use of <var>New</var> or <var>Discard</var> outside the class so such a declaration only makes sense in a Public block. If the intent is to restrict use of the indicated method outside the class, move the <var>Disallow</var> to the Public block. Otherwise, delete the <var>Disallow</var> declaration.  | ||
[[Category:  | {{Template:MSIR.0809 footer}}  | ||
[[Category:MSIR.0800 - MSIR.0999]]  | |||
Latest revision as of 23:35, 3 March 2017
A Disallow declaration appeared in a Private block. Disallow is only intended to restrict use of New or Discard outside the class so such a declaration only makes sense in a Public block. If the intent is to restrict use of the indicated method outside the class, move the Disallow to the Public block. Otherwise, delete the Disallow declaration.
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 |