Subject: | |
From: | |
Reply To: | |
Date: | Wed, 15 Jan 2003 17:36:27 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
At 04:26 PM 1/15/2003 -0600, Jeff Keepers wrote:
>A fellow developer of mine is attempting to read an entire message file
>nondestructively. Several attempts have been made using the fcontrol 47 and
>read commands but the application just keeps reading the same record in the
>message file. Is there a way to nondestructively read a record in a message
>file, move the pointer, do a nondestructively read, move the pointer, etc
>until
>the end of the message file?
One way would be to write a "marker" record to the message file and then
start reading the message file and rewriting the record back to the file
again until you read the "marker" at which point you have finished. One
caution is that you may want to be disallowing others access to the file
while doing this to preserve repeatability.
>Any assistance on this matter would be most appreciated.
>
>Sincerely,
>Jeff
>
>* To join/leave the list, search archives, change list settings, *
>* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
Brian Duncombe [log in to unmask] http://www.triolet.com
voice: 1-877-TRIOLET (874-6538) (905)632-2773 fax: (905) 632-8704
"Inside every large program is a small one desperately trying to get out"
C.A.R. Hoare
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|