HP3000-L Archives

January 2005, 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:
Connie Sellitto <[log in to unmask]>
Reply To:
Connie Sellitto <[log in to unmask]>
Date:
Fri, 14 Jan 2005 13:36:29 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (17 lines)
Hello Listers,
I have a COBOL program that reads a small (1500 records) Master
dataset in serial mode ('2'), and may have occasion to re-read it
several times in the program.  After doing a 'DBGET' and getting an
EOF condition ('11'), is there a simple way to reset the record pointer
back to the beginning of the set, other than a DBCLOSE and
DBOPEN?  I was thinking of alternating modes on the DBGET
between 2 and 3 (backwards serial read) for each subsequent pass,
since the program will select just a few records and sort them
according to user specifications.

Thank you for any suggestions,
Connie

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2