M204.2129
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=0 | Sets online return code |
---|---|
RETCODEB=4 | Sets batch (single user) return code |
CLASS=E | Error class; the message can be suppressed with the X'04' bit setting of the MSGCTL parameter |
AUDITER | Writes the message with line type ER to the audit trail |
COUNT | Increments the error count (ERCNT) parameter |