HP3000-L Archives

November 1999, Week 1

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:
Eben Yong <[log in to unmask]>
Reply To:
Eben Yong <[log in to unmask]>
Date:
Wed, 3 Nov 1999 20:35:19 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (17 lines)
I am trying to set up a COBOL program that reads records in a KSAMXL file
based on an exact match to a key value.  The file can contain multiple
records based on the key value.  I only want to read those records that
match the key value exactly.  I have been able to successfully find and read
the first record using FREADBYKEY and FFINDBYKEY+FREAD, but then subsequent
FREADs will take the rest of the KSAMXL file until it hits EOF.  How do I
limit the FREAD so that it only reads the qualifying logical records (based
on the key value)?  If someone could provide the intrinsic sequence and
logic I can figure out the programming details.  Thank you for your
assistance.

Eben Yong
MIS Manager
Health Plan of San Mateo
650-616-2010
[log in to unmask]

ATOM RSS1 RSS2