|
I hadn't tried the code but I just ran it on VRM540. If I remove O_TEXT_CREAT or specify O_CCSID instead of O_CODEPAGE then it works with the last parameter set to 0.
With O_TEXT_CREAT specified the conversion ID (4th parm) is the "file CCSID" and the text conversion ID (5th parm) is the "open CCSID". In this case the file and open CCSIDs are different (819 and 0 respectively). Perhaps 0 has not yet been resolved and since it is not STRICTLY single-byte or double-byte ECONVERT is returned?
I reckon that's just wrong and can't be how it was intended. I suggest Jon opens a PMR.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.