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



Hi Buck - rhymes with Chuck!

You both hit it - I thought I'd tried x'25' and had no luck - another rhyme!

That did the trick - there is conversion happening - and this rings a bell for me, too - had code at RJS that used the right one, I just forgot.

Thanks to you both!

Vern

On 4/29/2014 11:33 AM, Buck Calabro wrote:
On 4/29/2014 11:56 AM, Vernon Hamberg wrote:
Hi all

I am working on a project to write to Excel. We use Giuseppe's SQL2JXL
for this, and it is using the native JDBC driver as I'm executing it.
The JT400 driver is an option, tried that, but no difference for my needs.

I have content in a cell that is best presented in multiple lines - not
rows, for good reasons. In Excel, this is done with the Alt-Enter to get
new lines.

In Excel, you can put a value in a cell that has CHAR(10) - NL - between
lines - this is how it is done.

On the i, I'm using x'15' for the NL.

So I insert NL between the values, as here - KitchenNLService
AreaNLExterior

This should display in the cell like this -

Kitchen
Service Area
Exterior

Instead, it looks like this -

KitchenService
AreaExterior

It seems the control character x'15' has been stripped - I want it to
convert to ASCII x'0A'
I haven't got this installed, so I can't test. There are several easy
possibilities.

1) There's a CCSID conversion that you expect to happen between EBCDIC
and ASCII. Maybe it's working, but you need a different EBCDIC
character. Have you tried x'25' instead of x'15'? That's ringing a
bell for some reason.

2) There's no conversion going on. Have you tried sending x'0a'?
--buck


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.