M204.0870: Difference between revisions
Jump to navigation
Jump to search
(Automatically generated page update) |
m (add <var>'s) |
||
Line 1: | Line 1: | ||
{{Template:M204.0870 skeleton}} | {{Template:M204.0870 skeleton}} | ||
<P>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. </P> | <P> | ||
<p><b>Response:</b> 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 | 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 <var>IFSORT</var>), but the call requires a record from an unsorted set. </P> | ||
sorted set. Correct the host language program and retry. </p> | <p> | ||
<b>Response:</b> An <var>IFFIND</var> call must be inserted to establish an unsorted record set, followed by an <var>IFGET</var> call to establish a current record. Alternately, <var>IFBREC</var> or <var>IFPOINT</var> can be called to establish a current record that is not part of a | |||
sorted set. Correct the host language program, and retry. | |||
</p> | |||
{{Template:M204.0870 footer}} | {{Template:M204.0870 footer}} | ||
<!-- skeleton as it was in pdf/CURRENT FUNCTION NOT ALLOWED WITH SORTED RECORD/SET /--> | <!-- skeleton as it was in pdf/CURRENT FUNCTION NOT ALLOWED WITH SORTED RECORD/SET /--> |
Latest revision as of 20:55, 15 March 2018
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 |