Thank you and also the person who responded off-line.
Yup, rb fixes it.
Gosh, the doc could be better. You're right, that's what it says. Do they
gain some kind of points by not adding therefore you must code a mode that
explicitly requests binary? What about an error message that actually said
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
Charles Mills
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
3 matches
Mail list logo