MSIR.0843 The record object's file/group does not match the file/group context of the record loop: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "The shared function <tt>CurrentRecord</tt> in the Record class was invoked inside a For Each Record loop, but the For Each Record loop was on a file or group different from the f...")
 
(Automatically generated page update)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
The shared function <tt>CurrentRecord</tt> in the Record class was invoked inside a For Each Record loop, but the For Each Record loop was on a file or group different from the file or group of the Record object. Since the intent of the CurrentRecord method is to return a Record object representing the current record in a For Each Record loop, it makes no sense for the file/group context of the For Each Record loop to be different from that of the Record object. Either change the file/group context of the Record object, or correct the For Each Record statement. See the ''Janus SOAP Reference Manual'' for more information about the Record class.
The shared function <var>CurrentRecord</var> in the Record class was invoked inside a <var>For Each Record</var> loop, but the <var>For Each Record</var> loop was on a file or group different from the file or group of the <var>[[Record class|Record]]</var> object. Since the intent of the <var>CurrentRecord</var> method is to return a <var>Record</var> object representing the current record in a <var>For Each Record</var> loop, it makes no sense for the file/group context of the <var>For Each Record</var> loop to be different from that of the <var>Record</var> object.  


[[Category:Sirius Mods Messages]]
Change the file/group context of the <var>Record</var> object, or correct the <var>For Each Record</var> statement.
 
{{Template:MSIR.0843 footer}}
[[Category:MSIR.0800 - MSIR.0999]]

Latest revision as of 23:35, 3 March 2017

The shared function CurrentRecord in the Record class was invoked inside a For Each Record loop, but the For Each Record loop was on a file or group different from the file or group of the Record object. Since the intent of the CurrentRecord method is to return a Record object representing the current record in a For Each Record loop, it makes no sense for the file/group context of the For Each Record loop to be different from that of the Record object.

Change the file/group context of the Record object, or correct the For Each Record statement.


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