Pathmaker Programming Guide
Reading Rows
How to Operate a DB Requester Application
B–6 067868 Tandem Computers Incorporated
If the employee table contains records for employee numbers 0 through 123, the
application returns the row listed in Table B-1, depending upon the value entered and
the compare length specified.
Table B-1. Example of Enscribe Records Returned for READ GENERIC
Compare Length Field Value Record Returned
0 0123 EMPNUM 123
(full field size used)
1 0xxx EMPNUM 0 (0000)
2 01xx EMPNUM 100 (0100)
3 012x EMPNUM 120 (0120)
4 0123 EMPNUM 123 (0123)
No length specified 0123 EMPNUM 123
(full field size used)
Value greater than 4 0123 EMPNUM 123
(full field size used)
READ GENERIC Operation for an Outermost Box
To request a READ GENERIC operation for an outermost box, the end user would do
the following:
1. Enter a partial value in the key field(s).
2. Press F8.
3. For an application that accesses Enscribe files, enter the number of compare
characters in response to the request from the application.
4. Press F8.
READ GENERIC Operation for a Nested Box
A READ GENERIC operation can be requested for a nested box only if a key field
appears in that box. If a key field does appear, the end user should do the following to
request a READ GENERIC operation:
1. Read or insert a row into the parent box.
2. Enter a partial value in the key field.
3. Press F8.
4. For an application that accesses Enscribe files, enter the compare length in
response to the request from the application and press F8 again.