Previous Topic: @ERASE ParametersNext Topic: @ERASE Example


@ERASE Status Codes

After completion of the @ERASE function, the ERRSTAT field in the IDMS communications block indicates the outcome of the operation. The following is a list of the acceptable status codes for this function and their corresponding meaning:

0000

The request has been serviced successfully.

0208

The named record is not in the specified subschema, or the record name has been misspelled.

0209

The specified record's area has not been readied in one of the three update usage modes.

0210

The subschema specifies an access restriction that prohibits use of the @ERASE statement. For integrated indexing users, this code can also indicate use of an invalid form of the @ERASE statement.

0213

A current record of run unit has not been established or has been nullified by a previous @ERASE statement.

0217

A db-key has been encountered that contains a long-term permanent lock.

0220

The current record of run unit is not the same type as the specified record.

0221

An area other than the area of the named record has been readied with an incorrect usage mode.

0225

Currency has not been established. For integrated indexing users, this usually indicates that an @FIND statement has been issued for an indexed record and followed by an @ERASE statement for the same record. Only an @OBTAIN statement updates index set currencies.

0226

A broken chain has been encountered in the process of executing an @ERASE ALL, PERMANENT, or SELECTIVE statement.

0230

An attempt has been made to erase the owner record of a nonempty set.

0233

Erasure of the record occurrence is not allowed in this subschema, or all sets in which the record participates have not been included in the subschema.

0237

There are cyclical set relationships present under the target record of the erase verb

0260

A record occurrence has been encountered whose type is inconsistent with the set named in the ERRORSET field of the IDMS communications block; probable causes could be a broken chain or improper database descriptions.

0261

No record can be found for an internal db-key. This code usually indicates a broken chain.