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




On 27-Aug-09, at 8:20 PM, Scott Klement wrote:

You say the system CCSID is 37. Can I assume that the job's code page
is also 37? The job CCSID is what is used when you specify 0, not the
system's.

Yup - both are 37 so I don't think that's the answer.

Another possibilty would be a bad prototype. (I hope not!) A bad
prototype might mean that you're passing a codepage value that you don't
expect to pass...

No - it's your proto so I _know_ it is good.

One wonders why you are using O_CODEPAGE to begin with? Does this
program need to work on V4R5 or earlier?

Because I was asleep? I actually cloned a bunch of code from an old working program and didn't notice. Thanks for pointing that out.

By changing the flag to O_CCSID it now works - but of course they doesn't explain the original failure.


Jon Paris

www.Partner400.com
www.SystemiDeveloper.com


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.