Previous Topic: Return Code 03 - INVALID KEY NAMENext Topic: Return Code 05 - TABLE NOT OPEN


Return Code 04 - INVALID RECORD ID

Reason:

The record ID does not point to a record.

Action:

See the following internal return codes for details.

Return Code 04 Internal Return Codes

Dec

Hex

M

B

Explanation

User Response

001

01

N

N

The record ID in the Request Area contains invalid data or is not in
the specified table. This is
probably the result of issuing a
REDLE, REDID, REDLE, or RDULE command, using a saved record ID
for a row which has since been 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 04 and takes appropriate action to continue processing.

002

02

Y

Y

A CXX record ID is invalid. The CXX record ID is used internally to find various CXX structures.

Contact CA Support with the dump that is automatically produced.

033

21

Y

Y

The record ID in the Request Area contains invalid data or is not in the specified table. The most common reason for this is a JCL error, for example, the Index Area or data
area pointing to the wrong table. Inconsistencies resulting from restoring non-CA Datacom/DB backups of a data area or Index Area could also be the cause.

For RDUID and REDID commands, correct the record ID and reissue the request. For all other commands, contact CA Support with the dump that is automatically produced. For information about contacting CA Support, see Troubleshooting.

047

2F

Y

Y

The record ID in the Request Area contains invalid data or is not in the specified table. The most common reason for this is a JCL error, for example, the Index Area or data
area pointing to the wrong table. Inconsistencies resulting from restoring non-CA Datacom/DB backups of a data area or Index Area could also be the cause.

For RDUID and REDID commands, correct the record ID and reissue the request. For all other commands, contact CA Support with the dump that is automatically produced. For information about contacting CA Support, see Troubleshooting.

170

AA

N

N

The record ID in the Request Area contains invalid data or is not in the specified table. The most common reason for this is a JCL error, for example, the Index Area or data
area pointing to the wrong table. Inconsistencies resulting from restoring non-CA Datacom/DB backups of a data area or Index Area could also be the cause.

For RDUID and REDID commands, correct the record ID and reissue the request. For all other commands, obtain a Statistics and Diagnostics Area (PXX) dump using the DBUTLTY function COMM OPTION=ALTER with RCERROR=04170 and MASTERL=YES and BUFFERS=YES, then contact CA Support. For information about contacting CA Support, see Troubleshooting.

 

 

 

 

An attempt was made to access a table partition using the Any Parent table when the area where the table partition is located is not available. User requests that separate the
index and data access, such as the REDID and REDLE commands, can receive this return code. In this
case, it can mean that the area
access status has changed or the
row truly does not exist.

Make changes to the program as necessary.