Re: Anyone have a clue on this EDC5057I The open mode string was invalid?

2009-12-24 Thread Charles Mills
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

Anyone have a clue on this EDC5057I The open mode string was invalid?

2009-12-23 Thread Charles Mills
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

Re: Anyone have a clue on this EDC5057I The open mode string was invalid?

2009-12-23 Thread Bill Godfrey
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