× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Simon Coulter wrote:
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.

Yes, of course. If you remove O_TEXT_CREAT, it ignores the last parameter. As for O_CCSID... if that didn't work, half of my programs would be failing in production :)


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?

That was my thought as well. (and was the point I was trying to make in my reply to you...)


I reckon that's just wrong and can't be how it was intended. I suggest Jon opens a PMR.

I agree. Though, someone else may have to do it for him.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.