M204.2129

From m204wiki
Revision as of 03:34, 14 March 2018 by DmeWiccan (talk | contribs) (Automatically generated page update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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