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:
The request has been serviced successfully.
The named record is not in the specified subschema, or the record name has been misspelled.
The specified record's area has not been readied in one of the three update usage modes.
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.
A current record of run unit has not been established or has been nullified by a previous @ERASE statement.
A db-key has been encountered that contains a long-term permanent lock.
The current record of run unit is not the same type as the specified record.
An area other than the area of the named record has been readied with an incorrect usage mode.
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.
A broken chain has been encountered in the process of executing an @ERASE ALL, PERMANENT, or SELECTIVE statement.
An attempt has been made to erase the owner record of a nonempty set.
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.
There are cyclical set relationships present under the target record of the erase verb
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.
No record can be found for an internal db-key. This code usually indicates a broken chain.
|
Copyright © 2014 CA.
All rights reserved.
|
|