Using Graphical Data Display Manager (GDDM)

The Graphical Data Display Manager (GDDM) provides programmers with a comprehensive set of functions for displaying or printing information in the most effective manner. The major functions provided are:
Because GDDM uses OS-style linkage, calls from C to GDDM require the #pragma linkage pragma, as in the following example:
#pragma linkage(identifier, OS)
In C++ code, calls to and from GDDM require that any GDDM functions you use be prototyped as extern "OS", as shown in the following example:
extern "OS" {
  ASREAD( int *type, int *num, int *count );
  CHAATT( int num, int *attrib );
  CHHATT( int num, int *attrib );
}

Because C++ does not support #pragma linkage, any existing C code that you are moving to C++ should use the extern "OS" specification instead.

When linking a GDDM application, you must add the GDDM library to your SYSLIB concatenation.

Notes:
  1. XPLINK is not supported by GDDM.
  2. AMODE 64 applications are not supported by GDDM.