TRANSFER Reference Manual

GET-ITEM-STATS
TISERV UOW Descriptions
069139, Update 1 to 40969 Tandem Computers Incorporated 2–313
GET-ITEM-STATS
(UOW Code 284)
GET-ITEM-STATS retrieves the statistics for items saved in a folder. For alterable
items, this UOW returns the size of the entire item tree.
DEF get-item-stats-uow.
02 hdr.
03 self-ident PIC AA "UW".
03 uow-code TYPE BINARY 16 UNSIGNED VALUE 284.
02 num-wanted TYPE BINARY 16 UNSIGNED.
02 reserved TYPE CHARACTER 10 VALUE SPACES.
02 item-id.
03 dummy PIC X(12) OCCURS 1 TO 20 TIMES
DEPENDING ON num-wanted.
END.
DEF get-item-stats-rsp.
02 hdr.
03 self-ident PIC AA "UW".
03 uow-code TYPE BINARY 16 UNSIGNED VALUE 284.
02 retn-code TYPE BINARY 16.
02 retn-code-detail TYPE BINARY 16.
02 reserved TYPE CHARACTER 10 VALUE SPACES.
02 num-returned TYPE BINARY 16 UNSIGNED.
02 stats OCCURS 0 TO 20 TIMES DEPENDING ON
num-returned.
03 item-id.
04 dummy PIC X(12).
03 extobj-storage TYPE BINARY 64.
03 itemdata-storage TYPE BINARY 64.
03 num-data-recs TYPE BINARY 32 UNSIGNED.
03 error-code TYPE BINARY 16.
03 reserved-1 TYPE BINARY 64.
03 reserved-2 TYPE BINARY 64.
END.
HDR
is the UOW header. The UOW-CODE value is 284.
NUM-WANTED
is the number of ITEM-IDs for which statistics are being requested.
ITEM-ID
can occur up to 20 times. These are the ITEM-IDs for which statistics are returned.