|
On Jun 6, 2016, at 3:07 PM, IBMiSoftwareEngineer <ibmisoftwareengineer@xxxxxxxxx> wrote:
I have been provided a file/table from a customer that appears to contain
DBCS data in a few of the fields/columns. The data in the columns begins
with x'0E' and end with x'0F' and the CCSID is 937.
Can I convert the data to CCSID 37 and to our normal SBCS data that we can
use in an RPG program and also SQL SELECT statements? Any examples or
links to helpful info would be greatly appreciated. My googling has not
resulted in a working solution.
I have attempted to use the QtqIconvOpen, iconv, and iconv_close API's to
convert from CCSID 937 to 37 but the data is still not readable. My thought
is I also need to convert it from DBCS to SBCS.
Thanks in advance for any assistance or direction.
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.
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.