VSAM: Started Task VSAM / QSAM / PDS: File Update Error Messages

Text

Cause

Action

UpdateCurrentRecord() Error 1080: kreplace() return code is non-zero.

An error occurred during an update-in-place attempt against a VSAM KSDS, ESDS, or RRDS file.

If the error is reproducible, follow procedure A01.

UpdateCurrentRecord() Error 1081: The record buffer pointer is NULL.

This is an internal logic error message.

Report the error message to CONNX Technical Support.  On request, follow procedure A01.

UpdateCurrentRecord() Error 1083: The record length is invalid.

This is an internal logic error message.

Report the error message to CONNX Technical Support.  On request, follow procedure A01.

UpdateCurrentRecord() Error 1084: An attempt to change the target VSAM file key field during an Update is not permitted; retry as an Insert + Delete.

The current UPDATE SQL statement contains one or more SET column = value clauses which reference all or part of a unique key.  This operation is not permitted against VSAM KSDS files.

Revise the invoking application to code an INSERT followed by a DELETE of the current record.

UpdateCurrentRecord() Error 1085: Read for Update failed; Update bypassed.

The UPDATE SQL statement referenced a VSAM record which was not currently locked.  An attempt to read the record with an exclusive lock failed.  The record is either locked by the current or another client application.

Revise the client application to issue a COMMIT prior to the UPDATE, and try again.  If the problem persists, browse the STDERR JES output or physical sequential data set for SAS/C runtime library error messages.  Also browse the Started Task / Batch job JES output and the system log for dataset allocation or sharing conflict messages.  If the error is reproducible, follow procedure A01.

UpdateCurrentRecord() Error 1086: Update is not supported for QSAM physical sequential and partitioned data sets.

The invoking client application sent an SQL UPDATE statement against a non-VSAM (QSAM physical sequential or PDS) file.  UPDATE is only supported for VSAM data sets.

Remove the UPDATE statement from the invoking client application.

UpdateCurrentRecord() Error 1087: The target file is not a VSAM data set.

An attempt to update the target file failed because it is not a VSAM data set. Either the file attributes of the data set have been changed since it was last imported into the CONNX CDD, or this is an internal logic error.

Verify that the DDNAME or physical data set name stored in the CONNX CDD file points to a VSAM data set.  If the target dataset is a VSAM KSDS, ESDS, or RRDS, then report the error to CONNX Technical Support.