TRANSFER Reference Manual

ADD-ITEM-REC
TISERV UOW Descriptions
069139, Update 1 to 40969 Tandem Computers Incorporated 2–31
ADD-ITEM-REC
(UOW Code 104)
ADD-ITEM-REC adds a data record to an item.
DEF add-item-rec-uow.
02 hdr.
03 self-ident PIC AA VALUE "UW".
03 uow-code TYPE BINARY 16 UNSIGNED VALUE 104.
02 item-key.
03 item-id.
04 dummy PIC X(12).
03 rec-type PIC 9(4) COMP.
03 rec-seq-num PIC 9(4) COMP.
02 data-byte-count TYPE BINARY 16 UNSIGNED.
02 client-data.
03 element PIC X OCCURS 0 TO 2000
TIMES DEPENDING ON
data-byte-count.
END.
DEF add-item-rec-rsp.
02 hdr.
03 self-ident PIC AA VALUE "UW".
03 uow-code TYPE BINARY 16 UNSIGNED VALUE 104.
02 retn-code TYPE BINARY 16.
02 retn-code-detail TYPE BINARY 16.
02 rec-seq-num PIC 9(4) COMP.
END.
HDR
is the UOW header. The UOW-CODE value is 104.
ITEM-KEY
identifies the item to which the record is added.
ITEM-ID
is the item ID of the item to which the record is added. To refer to an item
produced by a previous UOW within the same IPC, you can replace ITEM-ID with
ITEM-HANDLE, which is defined in the “Commonly Used Fields” subsection of
this manual.
REC-TYPE
is the type assigned to the record by your application.
Values 100 through 999 are reserved for use by Tandem.
Values 1000 through 9999 are available for customer use.