|
DAMN, these things are counterintuitive.
Added an O_CCSID to the OFlags (and the necessary other fields) (whitespace columns squeezed to fit):D OFLG S 10I 0 INZ(16777249) 1+32+16777216
* (O_RDONLY + O_CCSID + O_TEXTDATA)
D MODE S 10I 0 INZ(0)
D CCSID S 10I 0 INZ(37)
and then changed the open to:
C EVAL FD = OPEN(%TRIM(PATH):OFLG:MODE:CCSID)
and it worked right off. Even though I was specifying MY CCSID, rather than the FILE's CCSID.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.