MSIR.0752 ($Function): (error) with no Sirius debug info: Difference between revisions
mNo edit summary |
(Automatically generated page update) |
||
(8 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
Method ''''meth'''' of class ''''cl'''' was invoked incorrectly. | Method '''''meth''''' of class '''''cl''''' was invoked incorrectly. | ||
'''''error''''' indicates the exact nature of the error; for some methods if the error is specific to one of its arguments, or to the object method, it may begin with a string of one of the following two forms: | |||
< | <ul> | ||
<li>(<i>argument n</i>) | |||
<p> | |||
This indicates that the error is due to the ''n''th argument. </p> | |||
This indicates that the error is due to the | <li>(<i>method object</i>) | ||
<p> | |||
This indicates that the error is due to the object to which the method is applied. </p> | |||
</ul> | |||
The request is cancelled. Correct the method invocation. | |||
To get more debugging info such as the procedure and line number in which the error occurred, rerun the request with the 1 bit set in the <var>[[SIRFACT parameter|SIRFACT]]</var> system parameter or with any non-zero setting of the <var>[[DEBUGUL parameter|DEBUGUL]]</var> user parameter. The former can only be done if [http://m204wiki.rocketsoftware.com/images/f/fb/FactrNew.pdf SirFact] is installed; the latter results in additional QTBL space for compiled procedures. | |||
{{Template:MSIR.0752 footer}} | |||
[[Category:MSIR.0600 - MSIR.0799]] | |||
[[Category: |
Latest revision as of 23:34, 3 March 2017
Method meth of class cl was invoked incorrectly.
error indicates the exact nature of the error; for some methods if the error is specific to one of its arguments, or to the object method, it may begin with a string of one of the following two forms:
- (argument n)
This indicates that the error is due to the nth argument.
- (method object)
This indicates that the error is due to the object to which the method is applied.
The request is cancelled. Correct the method invocation.
To get more debugging info such as the procedure and line number in which the error occurred, rerun the request with the 1 bit set in the SIRFACT system parameter or with any non-zero setting of the DEBUGUL user parameter. The former can only be done if SirFact is installed; the latter results in additional QTBL space for compiled procedures.
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 |
CANCEL | Cancels the user's request |
COUNT | Increments the error count (ERCNT) parameter |