M204.0192: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (add <var>'s)
m (add <var>s)
 
Line 1: Line 1:
{{Template:M204.0192 skeleton}}
{{Template:M204.0192 skeleton}}
<P>
<P>
An unrecognizable word is found in a <var>Find</var> statement or <var>IFFIND</var> selection specification, where only AND or THAN are legal. Two correct specifications are: </P>
An unrecognizable word is found in a <var>Find</var> statement or <var>IFFIND</var> selection specification, where only <var>And</var> or <var>Than</var> are legal. Two correct specifications are: </P>
<ul>
<ul>
<LI>Field IS BETWEEN value1 AND value2 </LI>
<LI><code><var class="term">Field</var> Is Between <var class="term">value1</var> And <var class="term">value2</var></code> </LI>
<LI>Field IS GREATER THAN value </LI>
<LI><code><var class="term">Field</var> Is Greater Than <var class="term">value</var></code></LI>
</ul>
</ul>
<P>
<P>

Latest revision as of 14:33, 19 June 2018

M204.0192  And or Than required​,​ not word

An unrecognizable word is found in a Find statement or IFFIND selection specification, where only And or Than are legal. Two correct specifications are:

  • Field Is Between value1 And value2
  • Field Is Greater Than value

In SOUL, compilation continues, but the request is not executed. IFFIND returns a code of 4.

Response: Check the Find statement or IFFIND specification for a misspelled word, correct, and retry.

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