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


GQLI

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



Purpose



 GQLI
                                    
 (wtype, errind, nlcd, nskd, nvld,
 nchd, npkd, nstd)
   
 APL code  1426
 GKS RCP code  X'3800D700' (939579136)
   


Function: To inquire number of available logical input devices.

Inquiry function. Returns the number of available logical input devices of each input class for a 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.

nlcd (returned by GDDM) (fullword integer)
The number of locator devices (0 ... n).

nskd (returned by GDDM) (fullword integer)
The number of stroke devices (0 ... n).

nvld (returned by GDDM) (fullword integer)
The number of valuator devices (0 ... n).

nchd (returned by GDDM) (fullword integer)
The number of choice devices (0 ... n).

npkd (returned by GDDM) (fullword integer)
The number of pick devices (0 ... n).

nstd (returned by GDDM) (fullword integer)
The number of string devices (0 ... n).


Operating states


GKOP, WSOP, WSAC, SGOP

Related functions


Request choice (GRQCH)

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.

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
38
Specified workstation is neither of category INPUT nor of category OUTIN

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012