Re: Duplicate input files




charles hottel wrote:
"charles hottel" <chottel@xxxxxxxxxxxxx> wrote in message
news:UuQFg.6081$Sn3.5093@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

<snip>

A very long, long time ago I had a program that processed an index
sequential dataset using COBOL with two DCBs pointing to one dataset. One
processed it sequentially and the other processed it randomly, but both
were input/read only.

I have remembered another case. Under DOS/VS we had a program that created a
file and in the same step the program processed it using six DLBL
statements. This was to create six catalog cards per page of card stock, in
a certain required order, so that later when the cards were cut they were
easy to keep in the correct order.

When we converted the program to MFT we had to create the file in a separate
step before we could refer to in via six DD statements in the following
step.

Perhaps if we had the exact error message from the original poster we might
be able to make better suggestions.

True, but his memory is both porous and addled from overuse of alcohol.
As is mine. Doc's solution looks about right.

.