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


GQEWK

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



Purpose



 GQEWK  (n, errind, number, wktyp)
   
 APL code  1508
 GKS RCP code  X'38008200' (939557376)
   


Function: To inquire list element of available workstation types.

Inquiry function. Returns a workstation type number from the list of available workstation types in the GKS state list.

Parameters


n (specified by user) (fullword integer)
The list element requested. If the value specified is 0, the number of workstation types available is returned in number but wktyp is undefined.

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

number (returned by GDDM) (fullword integer)
The number of workstation types available.

wktyp (returned by GDDM) (fullword integer)
Element n of the list of available workstation types.


Operating states


GKOP, WSOP, WSAC, SGOP

Related functions


Open workstation (GOPWK), Inquire workstation category (GQWKCA)

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.

The workstation type wktyp can be used in a subsequent call to the function Open workstation (GOPWK).

Principal errors


8
GKS not in proper state: GKS shall be in one of the states GKOP, WSOP, WSAC, or SGOP
2002
List element or set member not available

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012