Re: Rewrite Twice?
- From: "Rick Smith" <ricksmith@xxxxxxx>
- Date: Wed, 31 May 2006 12:39:49 -0400
<dmckeon@xxxxxxxxxxxx> wrote in message
news:1149088494.470474.70070@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have a situation where I'm processing a request that comes in a
sequential file. At the end of processing, we rewrite the record so we
know processing is complete. I'm now adding some logic and want to
perform a rewrite in the middle of processing in case the program
abends in the middle, we can recover properly. Unfortunately, the
second rewrite then fails. Is there any way to rewrite a record twice
or do I need to close the file and re-read it back to the point I was
at?
I'm using Microfocus Workbench on Windows XP.
The Byte-stream File Routines may be used or,
perhaps, a second file that contains only the ID
of the record being processed, so that only one
rewrite is required.
.
- Follow-Ups:
- Re: Rewrite Twice?
- From: dmckeon
- Re: Rewrite Twice?
- References:
- Rewrite Twice?
- From: dmckeon
- Rewrite Twice?
- Prev by Date: Re: EOF location?
- Next by Date: Re: PIC P put to real use
- Previous by thread: Re: Rewrite Twice?
- Next by thread: Re: Rewrite Twice?
- Index(es):
Relevant Pages
|
|