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



No experience myself, but did you get this file from using the Excel addin?
If so, change the upload to use character fields instead of UNICODE and
maybe the problem will go away.

If not, it looks like %CHAR is going to be your friend.

Mike

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Dave Murvin
Sent: Friday, September 07, 2007 4:04 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: How to handle Graphic database fields

Hello,



I find myself having to use data files that use the Graphic Data type and
have not worked with this type of data before in RPGLE. DSPFFD says CCSID
is 13488 and UCS2 or Unicode Conversion = *CONVERT. How do I go about
working with this type of fields in my RPGLE program? A Hex sample of the
data from WRKDBF is



Cmp Div Sts Customer

­­ ­­­­­­ ­­­­ ­è­á­(­&­<­ ­è­á­­­­

10 020202 0303 05040405040405040203

0F 000000 0100 04050D000C0104050001



The Cmp field is packed and the Div, Sts and Customer fields are Graphic.



Thanks for the help.



Dave

--
This is the RPG programming on the AS400 / 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.



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.