‎2008 Jan 13 12:49 PM
During a OPEN DATASET Statement is it possible that in the same program:-
There are some OPEN DATASET Statement that OPEN IN BINARY MODE & some that OPEN IN TEXT MODE for the statement
OPEN DATASET FOR INPUT
‎2008 Jan 13 1:19 PM
It is very Much Possible.
Open a Dataset, Process the file ( Read/write....) and close the Dataset.
Now Open the next Dataset.
You shud be fine.
Vinodh Balakrishnan
‎2008 Jan 16 6:59 AM
‎2008 Jan 16 7:18 AM
Hi learner,
>
> and for the same dataset?
if the question is "can we open a file in text mode and in mode" at the same time it is the same as "can we cross the street at red light and green light at the same time?"
Answer: Try it to believe it!
Regards,
Clemens
‎2008 Jan 13 1:25 PM
Hi learner,
the number of files open at the same time may be restricted by operating system conditions. For each single file the mode can be different.
If the OPEN DATASET statement is missing, the OPEN will be done implicitly in BINARA MODE with the first READ DATASET or TRANSFER command.
This information is available at F1.
Regards,
Clemens