MSIR.0842 Record:CurrentRecord must be inside a FOR EACH RECORD loop: Difference between revisions
Jump to navigation
Jump to search
(Automatically generated page update) |
(Automatically generated page update) |
||
Line 1: | Line 1: | ||
The shared function <var>CurrentRecord</var> in the <var>[[Record class|Record]]</var> class was invoked outside a <var>For Each Record</var> loop context. Since the intent of the <var>CurrentRecord</var> method is to return a record object representing the current record in a <var>For Each Record</var> loop, it makes no sense outside such a loop. | The shared function <var>CurrentRecord</var> in the <var>[[Record class|Record]]</var> class was invoked outside a <var>For Each Record</var> loop context. Since the intent of the <var>CurrentRecord</var> method is to return a record object representing the current record in a <var>For Each Record</var> loop, it makes no sense outside such a loop. | ||
{{Template:MSIR.0842 footer}} | |||
[[Category:Sirius Mods messages]] [[Category:MSIR.0800 - MSIR.0999]] | [[Category:Sirius Mods messages]] [[Category:MSIR.0800 - MSIR.0999]] |
Revision as of 18:31, 12 July 2016
The shared function CurrentRecord in the Record class was invoked outside a For Each Record loop context. 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 outside such a loop.
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 |