On Sun, Apr 8, 2012 at 1:15 PM, Paul Gilmartin <[email protected]> wrote:
> On Sun, 8 Apr 2012 12:55:54 -0700, Sam Siegel wrote: > > > >Actually it is C. The intermediate buffer is used to allow the UNICODE > >service to translate to ASCII. UNICODE services need to know how much > data > >is being passed in. The code runs POSIX(ON), XPLINK and is compiled the > >ASCII option. > > > And then the C RTL will further translate it to the "native" EBCDIC. > Many ASCII-centric systems treat UTF-8 as practically standard. > (But the filenames contain nonportable characters.) Does the > caller pass you ASCII, presumed ISO8859-1, UTF-8, or other? > Will the files be shared (NFS?) or exported (pax?) to native ASCII > systems? > Yep ... I'm aware that C-RTL will translate it back to EBCDIC. It is XL C. I'm translating it to ASCII because the remainder of the application (~250 KLOC) came over from Windows. There is no dependency on Windows API. However, there are ASCII dependencies. Rather than do a port, it was easier, faster, cheaper, safer, etc., to compile with ASCII and translate the user provided strings to ASCII (ISO8859-1) or UNICODE depending on the specific need. The IBM XL C/C++ team did a GREAT jobs with ASCII compatibility. :-) The ultimate output file format is UNICODE and binary data. In reality, the application creates native excel spreadsheets in either .xls or .xlsx format on z/OS. It can be directly download to Windows in binary format and opened by Excel. No comma separated format. Real Excel functions, etc. There are lots of places where single-byte, multi-byte and double-byte characters can be provided. These are translated to UNICODE (CCSID: 1200). > > z/OS C, or Dignus? Hmmm... can Dignus programs interface to > LE services for this sort of translation? > > <Sigh\> > gil > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN

