MSIR.1071
MSIR.1071 token only valid in Shared block
A Soul clause has been coded outside of a public or private shared block, and the clause is only valid when defined within a shared block. Fr example, if a Friend clause is coded outside of a shared block in a class definition, then the following message is issued
MSIR.1071: FRIEND only valid in Shared block
Response:
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 |