On 4/29/2014 11:56 AM, Vernon Hamberg wrote:
Hi allI haven't got this installed, so I can't test. There are several easy
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
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
This should display in the cell like this -
Instead, it looks like this -
It seems the control character x'15' has been stripped - I want it to
convert to ASCII x'0A'
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'?
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.