TRANSFER Reference Manual
SCAN-BY-ITEM-NAME
TISERV UOW Descriptions
2–456 069139, Update 1 to 40969 Tandem Computers Incorporated
SCAN-BY-ITEM-NAME
(UOW Code 151)
SCAN-BY-ITEM-NAME scans the contents of a folder and retrieves the item ID, item
name, and unsave time of one or more named items. Only named items that fit the
specified search criteria are returned; all other named items, and all unnamed items,
are skipped over.
DEF scan-by-item-name-uow.
02 hdr.
03 self-ident PIC AA VALUE "UW".
03 uow-code TYPE BINARY 16 UNSIGNED
VALUE 151.
02 folder-name PIC X(80).
02 qualified-item-name PIC X(120).
02 options.
03 filter-by-item-type TYPE BOOLEAN.
03 first-call TYPE BOOLEAN.
03 item-type PIC 9(4) COMP.
03 recall-match-length TYPE BINARY 16 UNSIGNED.
02 num-requested TYPE BINARY 16 UNSIGNED
VALUE 20.
END.
DEF scan-by-item-name-rsp.
02 hdr.
03 self-ident PIC AA VALUE "UW".
03 uow-code TYPE BINARY 16 UNSIGNED
VALUE 151.
02 retn-code TYPE BINARY 16.
02 retn-code-detail TYPE BINARY 16.
02 folder-name PIC X(80).
02 recall-match-length TYPE BINARY 16 UNSIGNED.
02 num-returned TYPE BINARY 16 UNSIGNED.
02 items-returned OCCURS 0 TO 20 TIMES
DEPENDING ON num-returned
03 item-id.
04 dummy PIC X(12).
03 unsave-time TYPE DATE-TIME.
03 simple-item-name PIC X(32).
END.
HDR
is the UOW header. The UOW-CODE value is 151.