TRANSFER Reference Manual
SCAN-FOLDER-BY-KEY
TISERV UOW Descriptions
069139, Update 1 to 40969 Tandem Computers Incorporated 2–477
TISERV begins retrieval and sets SCAN-FOLDER-BY-KEY fields to values that
correspond to the item being scanned. Table 2-22 lists the values that TISERV sets as it
progresses through the folder.
Table 2-22. TISERV Response to SCAN-FOLDER-BY-KEY UOW
Item Being
Scanned SKIP-EXACT
DUPLICATE-
RESTART
STARTING-
DUPLICATE
STARTING-
KEY
STARTING-
KEY-LEN
First-item
(TERM)
Y N Ignored; sets
DUPLICATE-
RESTART to N
TERM 4 (ordering
key value of
first-item)
Second-item
(TERM)
Y Y First-dup TERM 4
Third-item
(TERM)
Y Y Second-dup TERM 4
Fourth-item
(TERM244)
Y N Ignored; sets
DUPLICATE-
RESTART to N
TERM244 7
Fifth-item
(TERM245)
Y N Ignored; sets
DUPLICATE-
RESTART to N
TERM245 7
The values returned for the fifth item (TERM245) are the appropriate settings for a
subsequent scan of the same folder.
Next,TISERV sets NUM-RETURNED to 5 and outputs the entries in Table 2-23 to the
ITEMS-RETURNED structure. Note that an asterisk (*) is used as a pad character.
Table 2-23. ITEMS-RETURNED Values
Item Ordering Key Length Ordering Key
First-item 4 TERM**
Second-item 4 TERM**
Third-item 4 TERM**
Fourth-item 7 TERM24
Fifth-item 7 TERM24
Since MAX-KEY-LEN was set to 6, the ordering key values for keys longer than six
characters were truncated to six characters.