MSIR.0859: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "Unused. Category:Sirius Mods Messages")
 
No edit summary
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Unused.
{{Template:MSIR.0859 skeleton}}
 
<!--Test SOUL.DNC.022.QA in QASHR exercises at least some MSIR.0859 cases. PDS-6626 -->
[[Category:Sirius Mods Messages]]
<p>
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:
</p>
<ul>
<li>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:
<p class="code>MSIR.0859: Statement requires RecordSet object</p>
Examples of statements that require a recordset object include
<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>
</li>
<li>In the case of a for each record statement referencing an object of the incorrect type, the error message text would be as follows
<p class="code>MSIR.0859: Statement requires (Sorted)RecordSet object </p>
</li>
</ul>
<p>
<b>Response:</b>
</p>
{{Template:MSIR.0859 footer}}

Latest revision as of 12:48, 8 May 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

  • In the case of a for each record statement referencing an object of the incorrect type, the error message text would be as follows

    MSIR.0859: Statement requires (Sorted)RecordSet object

Response:

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