Try "rb,type=record". It might fix your problem. According to this page of the C/C++ Programming Guide:
http://publibz.boulder.ibm.com/cgi- bin/bookmgr_OS390/BOOKS/CBCPG190/2.1.1.3 "C/C++ record I/O is binary" Record I/O is what "type=record" is requesting, which probably goes without saying. Bill On Wed, 23 Dec 2009 13:47:38 -0500, Charles Mills wrote: >The open mode string, displayed just before the call to fopen(), is "r, >type=record". > >The doc mentions making sure the DISP is compatible - it's DISP= (SHR,KEEP). > >Yes, the dataset exists. > >Anyone have any clues? > >TIA ---------------------------------------------------------------------- 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