M204.0189

From m204wiki
Jump to navigation Jump to search

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.

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
COMPILECompilation error

Back to list of messages