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 name of the graphics routine you want to run.
- The appropriate parameters for the specified graphics routine.
These parameters must be of the data type required by the graphics
routine and cannot have a float format.
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.
Note: You
can call IBM i Graphics
using the CALL operation. You can also use CALLP if you define a prototype
for the routine and specify the EXTPGM keyword on the prototype. You
cannot use the CALLB operation. You cannot pass Date, Time, Timestamp,
or Graphic fields to GDDM,
nor can you pass pointers to it.