Previous Topic: Return Code 11 - MASTER KEY HAS BEEN MODIFIED—UPDATE REJECTEDNext Topic: Return Code 13 - INTERNAL ERROR


Return Code 12 - SPECIAL DELETED RECORD

Reason:

A read command could not be processed.

Action:

See the following internal return code for details.

Return Code 12 Internal Return Codes

Dec

Hex

M

B

Explanation

User Response

045

2D

N

N

The read command could not be processed for one of the following reasons:

  • If the current command was a Read Located Entry command (REDLE or RDULE), either the record to be read was deleted since it was located by a locate command (LOCxx) or the
    program did not maintain the
    key by which the record was
    to be identified.
  • If the current command was a Read Record By ID command (REDID or RDUID), the record to be read was deleted.

If the failure was due to the program not maintaining the record key, revise the program logic. If the failure was due to a record being deleted before it could be read, add a routine to the program which checks for a return code of 12 and takes appropriate action to continue processing.