TRANSFER Reference Manual

ALTER-ITEM-DES-B40
TISERV UOW Descriptions
069139, Update 1 to 40969 Tandem Computers Incorporated 2–101
RETN-CODE
is the return code. TISERV returns a code in this field to indicate one of the
following entries:
0 OK
4010 E-BAD-TRANSACTION
4035 E-ITEM-NOT-FOUND
4041 E-ITEM-UNALTERABLE
4042 E-ITEM-NOT-PKG-HDR
4050 E-UPDATE-MISMATCH
4051 E-MUST-BE-YN
4052 E-RESERVED-MUST-BE-N
4054 E-INVALID-AGENT-SEL
4056 E-INVALID-ITEM-TYPE
4072 E-UNITS-MUST-BE-DHM
4073 E-INVALID-DATE-TIME
4074 E-INVALID-REL-TIME-QTY
4078 E-INVALID-PRIORITY
4906 E-ERR-ITEMDESC-FILE
4912 E-ERR-FOLDER-FILE
4922 E-ERR-INV-FOLDER-FILE
To indicate problems with an item handle:
4062 E-INVALID-ITEM
-4063 W-ITEM-NOT-RETURNED
RETN-CODE-DETAIL
is an error number returned by a subsystem other than the TRANSFER delivery
system or is a further qualification of an error detected by the TRANSFER delivery
system.
ALTER-ITEM-DES-B40 Operation
ALTER-ITEM-DES-B40 alters the fields in an item descriptor. This UOW selects for
alteration those fields chosen in FIELDS-TO-ALTER, and modifies them in accordance
with the information supplied in ALTERABLE-FIELDS.
If you do not issue this UOW for a package, the package is delivered by the
TRANSFER delivery system in accordance with default values assumed at package
creation.
If the item descriptor is not a package header item, ITEM-TYPE is the only field that
you can alter.
If the UOW requests updates of multiple fields and one of the alterations is illegal and
fails, none of the requested fields are updated.