|
To find the related CCSIDs there is an API known as both QTQGRDC (in QSYS) and CDRGRDC (in QSYS2). To determine *PCASCII and *STDASCII equivalents you would specify an encoding scheme (ESIN) of x'00004105' and x'00002100' respectively (for SBCS equivalents anyway - other ESIN values are also supported). This API can be found in the Information Center under API category National Language Support/Character Data Representation Architecture (CDRA) APIs/Get Related Default CCSID (CDRGRDC). Bruce "Orr, Rod" <ROrr@volante.com. To: "'midrange-l@midrange.com'" <midrange-l@midrange.com> au> cc: Sent by: Subject: using *PCASCII and *STDASCII midrange-l-admin@m idrange.com 07/09/2002 02:44 AM Please respond to midrange-l This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. -- [ Picked text/plain from multipart/alternative ] Does anyone know how to take any AS/400 CCSID and determine the equivalent PC Code page as IBM does in the parameter values *PCASCII and *STDASCII? I know the values when using US CCSID 037 but the rest . . . .? I'm writing a command that optionally uses these values which if used I then need to determine the PC code page value when I write to the IFS directly. Rod Orr ********************************************************************** This email may be confidential and/or privileged. Only the intended recipient may access or use it. Any dissemination, distribution or copying of this email is strictly prohibited. If you are not the intended recipient please notify us immediately by return email and then erase the email. We use virus scanning software but exclude all liability for viruses or similar in any attachment or message...,..,..,. ********************************************************************** _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l or email: MIDRANGE-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
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.