I would suggest to avoid the MVS specific open mode strings
(that is, recfm, lrecl and so on) as often as possible, because, 
if you use the simple "w" and "r" strings, the program will 
probably run on every platform, which is not so in the other case. 

My experience is that you don't need those MVS extensions most
of the time. One example where they are indeed needed is: if 
you try to write a binary file with variable length (a VB file
with binary contents, not only text). 

If you ever have questions about C on MVS, you could ask me offline
(15 years experience here). 

Kind regards

Bernd



Am Samstag, 7. März 2009 06:35 schrieben Sie:
> Hi Bill !
>
> Thanks for all your assistance.
>
> outf = fopen("dd:OUTF","w");
> works for both the pre-assigned disk file and the SYSOUT=A .
>
> Regards
>
> Lorne
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to