Previous Topic: Return Code 05 - TABLE NOT OPENNext Topic: Return Code 07 - DATA AREA FULL


Return Code 06 - TABLE NOT OPEN FOR UPDATE

Reason:

You tried to read a table with update intent or to modify a table for which there was no update authorization.

Action:

See the following internal return code for details.

Return Code 06 Internal Return Codes

Dec

Hex

M

B

Explanation

User Response

006

06

Y

N

A command was issued to read
a table with update intent or to
modify a table for which there
was no update authorization.
If your program issues UPDAT,
ADDIT, DELET, or RDUxx
commands, or issues SELxx commands without using a
separate Index Area for
temporary indexes (see the MUF startup option CBS parameter
for the ID of the database used
by the Compound Boolean Selection Facility and SQL), the parameter UPDATE=YES must be specified
in the User Requirements Table.

Change the User Requirements Table definition to permit updating by specifying UPDATE=YES in the DBURTBL macro for the table to be updated, then reissue the request.