× 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.



Scot,

That was my problem! I wasn't closing the file and reopening it! Doh!


Thanks for your help and suggestion on the CCSID, I actually wants a
CCSID of 367 so I'm going to look at changing to using the CCSID. Again
thanks for your sharing these routines as I've found them useful at a
couple of different places I've worked.

Many Thanks!

-- Jim

...

This symptom usually means that you marked the file with a CCSID of 819,
but you wrote the data in EBCDIC. When that happens, the actual hex
values of teh data are EBCDIC, so they can be viewed on the i, but not
on the PC.

You need to first create the file and mark it with 819. Then close it.
Then open it again with O_TEXTDATA to tell the system to translate it.

That way, when you write data, it ends up in ASCII.
...

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.