Troubleshooting
Problem
This document contains an example of ILE RPG converting a character field to graphic using the built-in function %GRAPH.
Resolving The Problem
| Caution: This is an example only. IBM accepts no responsibility for its correctness. |
Following is an example of RPG ILE using the built in function %GRAPH.
Example
hccsid (*graph: *src)
dchar s 10 inz('ABCD')
dresult s 10g
c eval result = %graph(char)
c seton lr
[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"6.1.0"}]
Historical Number
422740299
Was this topic helpful?
Document Information
Modified date:
18 December 2019
UID
nas8N1014839