Subject: | |
From: | |
Reply To: | |
Date: | Fri, 9 Oct 1998 14:48:40 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Evan writes:
> After performing an ffindbykey() function, I would like to be able to
> retrieve the relative record number. You can use ffileinfo(9,recnum) to
> retrieve the physical record number, but I really do want to retrieve
> the relative record number.
Why? The value returned by FFILEINFO 9 would appear to be the
chronological pointer ... which is usable in a call to FPOINT and
FREADDIR and FWRITEDIR.
Chronological records numbers are used by:
FREADC, FPOINT, FREADDIR, FWRITEDIR
Logical record numbers are used by:
FREAD (i.e., reads in logical sequence), FFINDN, FWRITE.
It sure would have been nice if the original KSAM authors/documenters
hadn't called the sorted-order record numbers "logical" (thereby confusing
them with the file system "logical" record numbers!)
There are other nomenclature problems that I'm discussing with HP offline.
--
Stan Sieler [log in to unmask]
http://www.allegro.com/sieler.html
|
|
|