TRANSFER Reference Manual

CREATE-ITEM
TISERV UOW Descriptions
2–178 069139, Update 1 to 40969 Tandem Computers Incorporated
CREATE-ITEM
(UOW Code 103)
CREATE-ITEM creates an item.
DEF create-item-uow.
02 hdr.
03 self-ident PIC AA VALUE "UW".
03 uow-code TYPE BINARY 16 UNSIGNED VALUE 103.
02 item-type PIC 9(4) COMP.
02 is-pkg-hdr TYPE BOOLEAN.
02 reserved-1 TYPE BOOLEAN VALUE "N".
END.
DEF create-item-rsp.
02 hdr TYPE UOW-HDR.
03 self-ident PIC AA VALUE "UW".
03 uow-code TYPE BINARY 16 UNSIGNED VALUE 103.
02 retn-code TYPE BINARY 16.
02 retn-code-detail TYPE BINARY 16.
02 item-id.
03 dummy PIC X(12).
END.
HDR
is the UOW header. The UOW-CODE value is 103.
ITEM-TYPE
is a numeric value that lets you categorize items by type. Its meaning is defined
by your application. The value must be in the range of 0 through 9999; values 100
through 999 are reserved for use by Tandem.
Note ITEM-TYPE should not be confused with RECORD-TYPE, which has a totally different meaning.
IS-PKG-HDR
determines whether the new item is a package header:
Y The item is a package header.
N The item is not a package header.
RESERVED-1
is reserved for use by Tandem. This field must be set to N.
RETN-CODE
is the return code. TISERV returns a code in this field to indicate one of the
following entries: