|
On Wed, 16 Dec 2015 13:12:18 -0600 CRPence wrote:
On 16-Dec-2015 11:06 -0600, Richard Schoen wrote:Oops. put a TRIM(LSTNAM) and it works.
On 16-Dec-2015 08:06 -0600, Richard Schoen wrote:
<<SNIP>>
The following SQL query works:
select * from qiws/qcustcdt where lstnam like 'Henning'
Only if the result of "No rows" defines "works"; LSTNAM being
CHAR(8) vs VARCHAR(8), means the last blank has significance.
<<SNIP>> the pct sign was dropped <<SNIP>>
<<SNIP>>
The EBCDIC Percent Sign [GCID SM020000 at code point 0x6C of
CP00037] would be correctly translated into ASCII as code point
0x25. And as John alludes, the 0x25 in EBCDIC encoding is a control
character Line Feed (LF), but that should not be relevant, unless
something had gone horribly wrong; a flawed processor that blindly
converted all 0x25 to 0xA0, but issued against the ASCII data,
would qualify as something horribly wrong.
Not sure if that's a DB2 feature or bug when using padded char
fields.
The XMLIN data buffer in the XMLCGI RPG app does contain the EBCDIC
%6C coming in, but there's a routine in XMLCGI appropriately called
apaHack that is messing it up and converting it to EBCDIC %25
There's no docs on what specifically it's doing and it uses a bunch
of pointer stuff.
Looks like there was some change made in XMLSERVICE V1.8.0 that does
a check on 6C that might be the culprit.
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.