M204.2129: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
 
m (add <var>s)
 
Line 2: Line 2:


<P>
<P>
An IFFTCH call has been coded with a DIRECTION parameter of 0, which indicates that the cursor should not be advanced and additional data is desired from the current record. Model&nbsp;204 has determined that the cursor
An <var>IFFTCH</var> call has been coded with a <var>DIRECTION</var> parameter of 0, which indicates that the cursor should not be advanced and additional data is desired from the current record. Model&nbsp;204 has determined that the cursor
referenced by the IFFTCH is a cursor against a value set, not a record set. Therefore it is illegal to request additional data, since the data consists of a single value. </P>
referenced by the <var>IFFTCH</var> is a cursor against a value set, not a record set. Therefore it is illegal to request additional data, since the data consists of a single value. </P>
<p>
<p>
<b>Response:</b> Correct the DIRECTION parameter to specify a value other than 0 if the cursor referenced by the IFFTCH is open against a value set. If the cursor is supposed to be open against a record set, check the IFOCUR call, and
<b>Response:</b> Correct the <var>DIRECTION</var> parameter to specify a value other than 0, if the cursor referenced by the <var>IFFTCH</var> is open against a value set. If the cursor is supposed to be open against a record set, check the <var>IFOCUR</var> call, and correct it if necessary.  
correct it if necessary. </p>
</p>
{{Template:M204.2129 footer}}
{{Template:M204.2129 footer}}
<!-- skeleton as it was in pdf/DIRECTION CAN NOT BE SET TO 0 FOR VALUE SET CURSORS /-->
<!-- skeleton as it was in pdf/DIRECTION CAN NOT BE SET TO 0 FOR VALUE SET CURSORS /-->

Latest revision as of 18:40, 16 March 2018

M204.2129  Direction cannot be set to 0 for value set cursors

An IFFTCH call has been coded with a DIRECTION parameter of 0, which indicates that the cursor should not be advanced and additional data is desired from the current record. Model 204 has determined that the cursor referenced by the IFFTCH is a cursor against a value set, not a record set. Therefore it is illegal to request additional data, since the data consists of a single value.

Response: Correct the DIRECTION parameter to specify a value other than 0, if the cursor referenced by the IFFTCH is open against a value set. If the cursor is supposed to be open against a record set, check the IFOCUR call, and correct it if necessary.

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

Back to list of messages