Previous Topic: Return Code 17 - INPUT/OUTPUT ERRORNext Topic: Return Code 19 - END OF TABLE FOR GETIT, END OF AREA FOR GETPS


Return Code 18 - EXCLUSIVE CONTROL DUPLICATE

Reason:

There has been a duplication of exclusive control error.

Action:

See the following internal return code for details.

Return Code 18 Internal Return Codes

Dec

Hex

M

B

Explanation

User Response

127

7F

N

N

A task which has read a record with exclusive control from one Request Area attempted to reread that same record from the same or another Request Area.

The returned data can be updated or deleted from either Request Area, but if two different work areas were specified the updates must be applied to the work area specified in the UPDAT command. Once one of the Request Areas updates or deletes the record, the other Request Area cannot perform any action on that record without rereading it for update. An attempt to do so results in a return code of 09.

For information on avoiding exclusive control interlocks, consult the CA Datacom/DB Programming Guide.