Print Image File in iSeries

pts.
Tags:
AS/400
Development
i5
IBM DB2
IBM iSeries
Integration/Connectivity
OS/400
Programming Languages
RPG
tips and tricks
Tools
Hi, I would like to ask for help to use the data type field GRAPHIC in iSeries. Can I save an image file into this field type. If so, how do I do this? I have tried but it always shows an error of character conversion not valid. Please help. Regards, Tony Tam

Answer Wiki

Thanks. We'll let you know when a new response is added.

Not sure about the GRAPHIC keyword but there’s an article (19313) by Glenn Rose at iSeriesNetwork.com that deals with adding colour to iSeries prints and, amongst other things, image files that are stored in the IFS. V5R3 of the OS must be installed.

==================================================

There might be a technical possibility that some kind of image could be stored in a GRAPHIC or VARGRAPHIC column, but I’d never trust it. Review <a href=”http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=%2Fdb2%2Frbafzmstch2data.htm”>SQL Data types</a>. The GRAPHIC/VARGRAPHIC types are generally character strings where the characters themselves are graphics.

Look at using one of the Binary types such as a BLOB.

Tom

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following