NET/MASTER Network Control Language (NCL) Programmer's Guide
Working With KeySequenced Files in a UDB Pair
Working With Files
12–82 106160 Tandem Computers Incorporated
Figure 12-19 shows sequential retrieval from both files in a UDB pair, beginning with
the first record. Records are retrieved in order from 1 through 10.
Figure 12-19. Sequential Retrieval From a UDB Pair
File 1 has read and write access.
1 2
File 2 has read-only access.
046
Legend
B
C
G
File 1
1
File 2
FILE GET OPT=SEQ PATH=ANY MDO=&rec.
A
2
H
L
Z
B
E
I
L
X
1
2
3
4
5
6
7
8
9
10
Updating a Record The FILE PUT verb updates an existing record in a UDB pair. You can update existing
records in mapped, unmapped, and delimited key-sequenced files in a UDB pair.
Note See the discussion on adding a record to an entry-sequenced file, earlier in this section, for information on
how to construct a record before updating the record in a file. See the discussion on updating a record in
a single key-sequenced file, earlier in this section, for information on update techniques and record locking
before an update.