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



Mixed CCSIDs?

http://www-912.ibm.com/n_dir/nas4apar.NSF/1be1a5b61b213a6c86256c23007048f4/7
7277dc0836328e686256c21003cdf99?OpenDocument&Highlight=0,fopen,conversion,er
ror

Download "Runtime library functions" PDF and look through fopen description,
especially the "|" marks on the left as they indicate new things.  

http://publib.boulder.ibm.com/infocenter/iseries/v5r3/ic2924/books/sc415607.
pdf#FOPEN

There are some parameters on the open related to CCSIDs.

Elvis



-----Original Message-----
Subject: [C400-L] "Conversion Error" from fopen()?

Hello,

        I have some simple code that opens a file on the IFS for
reading. This was working, but then I started getting NULL from the
fopen() call. When I check errno it is set to ECONVERT or "Conversion
Error." Why in the world would I get a conversion error just opening the
file?

        I know the question is a bit vague, but it really doesn't make
sense... it is just a regular old fopen() call on a text file.

fp = fopen(fname,"r");

        Anyone see this behavior before?

Dan Feather




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.