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





Joep Beckeringh wrote:
CRPence schreef:
With a SBCS [Single Byte Character Set] EBCDIC job CCSID, for
any DBCS [Double Byte Character Set] processing, there is an
associated /mixed/ or /mixed-byte/ CCSID according to the job
language\CCSID settings.

But where can I find the relation between SBCS EBCDIC CCSID's and their associated mixed-byte CCSID's? In
<http://publib.boulder.ibm.com/infocenter/systems/topic/nls/rbagslngidsdefaultccsids.htm>
I can see that for most Western languages the associated
mixed-byte CCSID is 'none'. I don't think the RPG manual means to say that for job CCSID 37 the CCSID of the character data
is assumed to be 'none'.


Of course if there is no DBCS data in the stream, then a choice of a single-byte CCSID would work fine. :-) But, I am not sure about that doc reference for the char function nor the table of langid & mixed. I have only ever dealt with such issues using internal\system interfaces; i.e. how the DB2 determines the value, or how Query/400 stores literals. A search of the archives yielded for the three tokens _ dbcs related ccsid _ several references [and messages & links in the threads], including reference to %char(ucs2) and the API for which I had included a link. HTH

http://archive.midrange.com/midrange-l/200810/msg00434.html
http://archive.midrange.com/midrange-l/200810/msg01266.html
http://archive.midrange.com/midrange-l/200810/msg01268.html
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/nls/rbagsccsidencodschemes.htm
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/nls/rbagsassociatedccsids.htm
http://archive.midrange.com/rpg400-l/200811/msg00406.html

Regards, Chuck

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.