M204.0870
M204.0870 Current function not allowed with sorted record/set
A Host Language Interface call is made that refers to the current record. The current record is a member of a sorted record set (built by IFSORT) but the call requires a record from an unsorted set.
Response: An IFFIND call must be inserted to establish an unsorted record set, followed by an IFGET call to establish a current record. Alternately, IFBREC or IFPOINT can be called to establish a current record that is not part of a sorted set. Correct the host language program and retry.
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 |