GDDM-GKS V1R1 Programming Guide and Reference
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF | BOOK


GQCF

GDDM-GKS V1R1 Programming Guide and Reference
SC33-0334-00



Purpose



 GQCF
                                    
 (wtype, errind, ncoli, cola,
 npci)
   
 APL code  1415
 GKS RCP code  X'3800D000' (939577344)
   


Function: To inquire color facilities.

Inquiry function. Returns values giving the color facilities for a given workstation type, from the workstation description table.

Parameters


wtype (specified by user) (fullword integer)
The workstation type.

errind (returned by GDDM) (fullword integer)
The error indicator.

ncoli (returned by GDDM) (fullword integer)
The number of colors or intensities (0,2 ... n).

cola (returned by GDDM) (fullword integer)
The availability of color. The possible values are:

0 (GMONOC)
Monochrome
1 (GCOLOR)
Color

npci (returned by GDDM) (fullword integer)
The number of predefined color indexes (2 ... n).


Operating states


GKOP, WSOP, WSAC, SGOP

Related functions


Set color representation (GSCR)

Description


If the inquired information is available, it is returned as output, and errind is returned as 0 (zero). If the inquired information is not available, all output is invalid, and errind returns an error indicator.

If the number of available colors or intensities is returned as 0 (zero), the workstation supports a continuous range of colors or intensities.

Principal errors


8
GKS not in proper state: GKS shall be in one of the states GKOP, WSOP, WSAC, or SGOP
22
Specified workstation type is invalid
23
Specified workstation type does not exist
39
Specified workstation is neither of category OUTPUT nor of category OUTIN

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012