MSIR.0725 (type) (name) not defined
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=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 |