ENABLE Reference Manual
 THE GENERAL SERVER
 Variable Portion of the Request
 • UPDATE (TRANS-CODE=2):
 --The requester must supply the old record image in
 RECORD-IMAGE.
 --The requester must supply the new record image in RECORD-
 IMAGE-2. The new record follows the old record but always
 begins on a word boundary.
 --The requester must supply the byte length of the old record
 image in RECORD-AREA-LENGTH. This might not be the length
 of the record itself if padding of one byte is necessary to
 position RECORD-IMAGE-2 on a word boundary.
 NOTE
 When the primary key is changed by an UPDATE operation,
 the General Server actually performs an insert of the
 new image followed by a DELETE of the old image. If
 the DELETE of the old image fails because of error, both
 the new and old images are left in the data base. If
 the data base file is audited by TMF, the requester can
 execute an ABORT-TRANSACTION to restore the data base
 to its former state. If the data base file is not
 audited by TMF, you must take other action to correct
 the situation. If the situation is not corrected, the
 data base could be left in an inconsistent state.
 • INSERT (TRANS-CODE=4):
 The requester supplies the new record image in RECORD-IMAGE.
 • DELETE (TRANS-CODE=3):
 The requester supplies the old record image in RECORD-IMAGE.
 E-14










