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



Thanks, Barbara - that was the ticket! Much appreciated!

Vern

On 6/12/2017 8:00 PM, Barbara Morris wrote:
On 2017-06-08 8:15 AM, Vernon Hamberg wrote:

Back to the horizontal ellipsis - in UTF-8 this is a 3-byte sequence, in hex, X'E280A6' - I see that in the XML file in the IFS that is tagged as CCSID 1208 - that's required.

In the UCS-2 value, this is a 2-byte sequence, x2026.

In the program I assign the UCS-2 value to a column in a PF that is CCSID 37 - it appears there as X'0E447f0F' when I use DSPPFM on the PF..


Hi Vern,

RPG has a (non)feature where it assumes that all alphanumeric data is in the mixed-byte CCSID (DBCS + SBCS) related to the job CCSID. For job CCSID 37, RPG would be assuming your alphanumeric data has CCSID 937.

To get RPG to assume that alphanumeric data defaults to the actual job CCSID, code CCSID(*CHAR:*JOBRUN) in the H spec.

If you had that CCSID(*CHAR) keyword to your H spec, RPG will put x'3f' in your character field, rather than the DBCS value.



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.