This service is available only with CALL ISPLINK or CALL ISPLNK calls.
The GRINIT service initializes the ISPF/GDDM interface and optionally requests that ISPF define a panel's GRAPHIC area as a GDDM graphics field. This service also replaces the FSINIT or SPINIT GDDM calls.
Graphic areas are not supported in GUI mode. However, you have some options if you request that an ISPF/GDDM interface be initialized:
If you have specified GUISCRD or GUISCRW values on the ISPSTART invocation that are different than the actual host screen size, GDDM cannot be initialized and the GRINIT service will end with a return code of 20.
GDDM or PGF functions are accessed by the dialog through the GDDM reentrant or system programmer interfaces. These interfaces are described in the GDDM Base Application Programming Reference.
ASREAD FSSHOR ISFLD MSPCRT MSQMOD PTNSEL WSCRT
FSSHOW ISQFLD MSPQRY MSQPOS PTSCRT WSDEL WSIO
FSENAB FSTERM ISXCTL MSPUT MSREAD PTSDEL WSMOD
FSEXIT GSREAD MSCPOS MSQADS PTNCRT PTSSEL WSSEL
FSINIT ISCTL MSDFLD MSQGRP PTNDEL PTSSPP WSSWP
FSRNIT ISESCA MSGET MSQMAP PTNMOD SPINIT
DSCLS DSDROP DSOPEN DSRNIT DSUSE DSCMF
If a dialog uses GDDM calls to put alphanumeric fields on a display, these fields are displayed only if there are no fields in the body of the ISPF panel definition. Other fields are not displayed. This means that alphanumeric fields can be displayed by either ISPF or the dialog through the use of GDDM, but not by both.
In addition, when using GDDM to put alphanumeric fields on a display, it is the dialog's responsibility to ensure that split-screen mode is not active before the display of the panel and that split-screen mode is disabled during the display of the panel.