TRANSFER Reference Manual

DELETE-ITEM-REC
TISERV UOW Descriptions
2–200 069139, Update 1 to 40969 Tandem Computers Incorporated
DELETE-ITEM-REC
(UOW Code 105)
DELETE-ITEM-REC deletes a data record from an item.
DEF delete-item-rec-uow.
02 hdr.
03 self-ident PIC AA VALUE "UW".
03 uow-code TYPE BINARY 16 UNSIGNED VALUE 105.
02 item-key.
03 item-id.
04 dummy PIC X(12).
03 rec-type PIC 9(4) COMP.
03 rec-seq-num PIC S9(4) COMP.
END.
DEF delete-item-rec-rsp.
02 hdr.
03 self-ident PIC AA VALUE "UW".
03 uow-code TYPE BINARY 16 UNSIGNED VALUE 105.
02 retn-code TYPE BINARY 16.
02 retn-code-detail TYPE BINARY 16.
END.
HDR
is the UOW header. The UOW-CODE value is 105.
ITEM-KEY
identifies the item to be deleted.
ITEM-ID
is the item ID of the record to be deleted.
REC-TYPE
is the type assigned to the record by your application. REC-TYPE describes
what kind of record is being deleted. This field is not interpreted by the
TRANSFER delivery system, but is stored with the item record and is returned
by the GET-ITEM-REC UOW. Records are stored first in increasing order by
REC-TYPE, and within each REC-TYPE in increasing order by REC-SEQ-
NUM. Values ranging from 1000 through 9999 are available for customer use
in this field. The values 100 through 999 are assigned for used by Tandem
application packages, such as PS MAIL. You can use these values in the REC-
TYPE field, but they should have the same meaning for your application as
they do for the Tandem application packages. These record types include
subject text, forward and response text, and unformatted ASCII text. An item
can contain records of many different types and multiple records of the same
type.