Yes, you'll need to position beyond the record that you want to read, this is often done with the SETGT command.
Yes, READP is used to read a file in reverse order. Tom
Wait .. we’re you refering to reading a physical file or a subfile? You’ve got a keyword of Subfiles. I’ve never seen a subfile accessed with READP or a READ, only with a READC. Or you can access a subfile record with CHAIN on the RRN.Phil
Valid WORKSTN File Operations doesn’t list READP for workstation files. A CHAIN with RRN would probably be the only choice.
READs aren’t unheard of for subfiles, though they’re not common.
we’re you refering to reading a physical file or a subfile?Hi Phil..I’m refering to read a physical file only.ThanksSurey.