M204.0189 File is not sorted
An SFL$ or SFGE$ clause is found in a Find statement or in the selection specification of the IFFIND function. Because a non-sorted file is opened as the default file, the clause is illegal. In SOUL, compilation continues but the request is not executed. IFFIND returns a return code of 4.
Response: Do one of the following:
- Make a single sorted file the default and retry.
- Change the Find statement or IFFIND argument that produced the error.
- Have the file manager recreate the file as a sorted file.
File manager response: Consider recreating and re initializing this file as a sorted file.
|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|