MSIR.0859: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
Examples of statements that require a recordset object include | Examples of statements that require a recordset object include | ||
<p class="code>find all records to %recordSet</p> | <p class="code>find all records to %recordSet</p> | ||
<p class="code>find without locks records to %recordSet</p> | |||
<p class="code>Find And Print Count To %recordSet With field=value</p> | |||
<p class="code>for each record in %recordSet</p> | |||
<p class="code>sort records in %recSet to %sortedRecordset by name</p> | |||
</p> | |||
</li> | </li> | ||
Revision as of 14:43, 23 April 2019
MSIR.0859 Statement requires token object
A SOUL statement is referencing an object which is not of a type for which the statement is valid The following examples are among the texts that might appear with this message:
- A statement is attempting to reference a recordset object, but the target object is not of the type recordset. In this case, the following message is produced:
MSIR.0859: Statement requires RecordSet object
Examples of statements that require a recordset object include
find all records to %recordSet
find without locks records to %recordSet
Find And Print Count To %recordSet With field=value
for each record in %recordSet
sort records in %recSet to %sortedRecordset by name
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 |