HP3000-L Archives

October 1998, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Stan Sieler <[log in to unmask]>
Reply To:
Stan Sieler <[log in to unmask]>
Date:
Fri, 9 Oct 1998 14:48:40 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
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

ATOM RSS1 RSS2