Hi Dan,
currently data is not conversion when writing it to the IFS.
At least there is no conversion into ASCII.
The XML-Data is written in UTF-8 (Default or whatever you put in the
SQL_XML_DATA_CCSID option in the QAQQINI file).
The text data is converted into UTF-8 either.
But I'll double check whether it is not converted (back into EBCDIC).
I you need the data to be converted into ASCII, it must be converted with
the iconv API.
... if I have some time I may add an additional function with data converted
to ASCII.
Mit freundlichen Grüßen / Best regards
Birgitta Hauser
"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"
?Train people well enough so they can leave, treat them well enough so they
don't want to.? (Richard Branson)
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Dan
Sent: Freitag, 2. März 2018 00:28
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: Re: Write Character or XML Data to the IFS with SQL
On Wed, Feb 28, 2018 at 11:49 PM, Dan <dan27649@xxxxxxxxx> wrote:
...
I tested WRT2IFS, and it works. However, there is no conversion from
EBCDIC to ASCII. I'm not sure whether this was intended, and I need
to do the conversion myself.
Can I presume that I need the WrtUT82IFS program to convert EBCDIC to ASCII?
- Dan
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.