Re: Duplicate input files
- From: "Alistair" <alistair@xxxxxxxxxxxxxxxxxxxxx>
- Date: 21 Aug 2006 11:56:52 -0700
ballantine@xxxxxxxxxxxx wrote:
" I suspect a program logic error but I wondered if Cobol
had a dislike of two sets of file handling routines pointing to the
same file..."
Try using the SAME RECORD AREA clause in the file-control paragraph.
Thanks, I'll pass that on to my friend. I expect it to be a
heart-stopper! Some years ago, he wrote a program for me with the same
record definition appearing for four output files. I re-wrote it using
SAME RECORD AREA AS and tested it. It worked perfectly. I then went on
holiday. When I came back, the program change had been "backed-out"
because "it didn't work". I don't believe him (and the project leader
for whom we worked) so I expect his face to pull a wobbly when I
mention same record area as.
However, I don't think it will resolve the problem...
.
- References:
- Duplicate input files
- From: Alistair
- Re: Duplicate input files
- From: Michael Mattias
- Re: Duplicate input files
- From: Alistair
- Re: Duplicate input files
- From: ballantine
- Duplicate input files
- Prev by Date: Re: Conext Menus
- Next by Date: Re: Duplicate input files
- Previous by thread: Re: Duplicate input files
- Next by thread: Re: Duplicate input files
- Index(es):