MSIR.0725 (type) (name) not defined

From m204wiki
(Redirected from MSIR.0725)
Jump to navigation Jump to search

A variable was declared as a Class or Structure, but that class or structure name was not defined. Either the name of the structure or class was misspelled, or the declaration of the structure or class appeared after the variable declaration — it must appear before.

One slightly tricky case is if a class called, say, A contains a variable of class B, and class B contains a variable of class A. In such a case, it is possible to declare one or the other class (or both) first with an empty Class block and then with a Class block that contains the variable declarations:

class a end class class b end class class a ... public and private variables end class class b ... public and private variables end class

The empty Class block will be sufficient to prevent this error message, because it lets Model 204 know about the existence of the class.


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