M204.0189: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
 
m (add <var>'s)
 
Line 1: Line 1:
{{Template:M204.0189 skeleton}}
{{Template:M204.0189 skeleton}}
<P>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 User Language, compilation continues but the request is not executed. IFFIND returns a return code of 4. </P>
<P>
<p><b>Response:</b> Do one of the following: </p><ul>
An SFL$ or SFGE$ clause is found in a <var>Find</var> statement or in the selection specification of the <var>IFFIND</var> 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. <var>IFFIND</var> returns a return code of 4. </P>
<p>
<b>Response:</b> Do one of the following: </p>
<ul>
<li>Make a single sorted file the default and retry. </li>
<li>Make a single sorted file the default and retry. </li>
<li>Change the FIND statement or IFFIND argument that produced the error. </li>
<li>Change the <var>Find</var> statement or <var>IFFIND</var> argument that produced the error. </li>
<li>Have the file manager recreate the file as a sorted file. </li>
<li>Have the file manager recreate the file as a sorted file. </li>
</ul>
</ul>
<p><b>File manager response:</b> Consider recreating and re initializing this file as a sorted file. </p>
<p>
<b>File manager response:</b> Consider recreating and re initializing this file as a sorted file.  
</p>
{{Template:M204.0189 footer}}
{{Template:M204.0189 footer}}
<!-- skeleton as it was in pdf/FILE IS NOT SORTED /-->
<!-- skeleton as it was in pdf/FILE IS NOT SORTED /-->

Latest revision as of 21:55, 15 February 2018

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