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


GQWKCA

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



Purpose



 GQWKCA  (wtype, errind, wkcat)
   
 APL code  1386
 GKS RCP code  X'3800C100' (939573504)
   


Function: To inquire workstation category.

Inquiry function. Returns the category of the specified type of workstation, from the workstation description table.

Parameters


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

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

wkcat (returned by GDDM) (fullword integer)
The workstation category. The possible values are:

0 (GOUTPT)
Output
1 (GINPUT)
Input
2 (GOUTIN)
Output/input
3 (GWISS)
Workstation independent segment storage
4 (GMO)
Metafile output
5 (GMI)
Metafile input

Operating states


GKOP, WSOP, WSAC, SGOP

Related functions


Open workstation (GOPWK)

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

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012