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


GQWKS

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



Purpose



 GQWKS  (wkid, errind, state)
   
 APL code  1468
 GKS RCP code  X'3800AA00' (939567616)
   


Function: To inquire workstation state.

Inquiry function. Returns the activity state of a workstation, from the workstation state list.

Parameters


wkid (specified by user) (fullword integer)
The workstation identifier.

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

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

0 (GINACT)
Inactive
1 (GATIV)
Active

Operating states


WSOP, WSAC, SGOP

Related functions


Activate workstation (GACWK), Deactivate workstation (GDAWK)

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


7
GKS not in proper state: GKS shall be in one of the states WSOP, WSAC or SGOP
20
Specified workstation identifier is invalid
25
Specified workstation is not open
33
Specified workstation is of category MI
35
Specified workstation is of category INPUT

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012