ILE RPG supports the use of the CALL or CALLP operation to call IBM i Graphics, which includes the Graphical Data Display Manager (GDDM®, a set of graphics primitives for drawing pictures), and Presentation Graphics Routines (a set of business charting routines). Factor 2 must contain the literal or named constant 'GDDM' (not a variable). Use the PLIST and PARM operations to pass the following parameters:
The procedure that processes the CALL does not implicitly start or end IBM i graphics routines.
For more information on IBM i Graphics, graphics routines and parameters, see the GDDM Programming Guide manual and the GDDM Reference.