Re: Rewrite Twice?
- From: dmckeon@xxxxxxxxxxxx
- Date: 31 May 2006 10:13:47 -0700
Rick Smith wrote:
<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.
Thanks for the input, guys. I'll just close the file and re-read it.
I just thought there might be a trick or a command that I was
unfamiliar with.
.
- References:
- Rewrite Twice?
- From: dmckeon
- Re: Rewrite Twice?
- From: Rick Smith
- Rewrite Twice?
- Prev by Date: Re: Newbie Question
- Next by Date: Re: PIC P put to real use
- Previous by thread: Re: Rewrite Twice?
- Next by thread: Newbie Question
- Index(es):
Relevant Pages
|