Skip to main content

[Migrated content. Thread originally posted on 29 September 2005]

We are running into a situation where a record write that returns a duplicate key status then returns a record lock status on an attempted rewrite. i.e.

PERFORM RECORD-WRITE.
IF FILE-STATUS = DUPLICATE-KEY
PERFORM RECORD-REWRITE.

The rewrite attempt returns a "99" status.

The environment is a LINUX server, thin client, wireless Windows XP workstations.

Has anyone experienced similar?

Vins Nash

[Migrated content. Thread originally posted on 29 September 2005]

We are running into a situation where a record write that returns a duplicate key status then returns a record lock status on an attempted rewrite. i.e.

PERFORM RECORD-WRITE.
IF FILE-STATUS = DUPLICATE-KEY
PERFORM RECORD-REWRITE.

The rewrite attempt returns a "99" status.

The environment is a LINUX server, thin client, wireless Windows XP workstations.

Has anyone experienced similar?

Vins Nash
I know this is obvious and surely not the problem, but make sure that the read of the record didn't lock it or that some other process could've locked the record...

Rob