MSIR.0778 (methtype) (methname) not declared

From m204wiki
Jump to navigation Jump to search

A method definition appeared for a method that had not been declared in a Public, Private, Public Shared, or Private Shared block. All methods must be declared in one of the indicated blocks. It is usually easiest to copy the method definition to a declaration, or to use a tool (such as Xtend — http://yoda-software.com.au) that does this automatically. Copy the method definition to the appropriate class declaration block.


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