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


GQOPS

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



Purpose



 GQOPS  (opsta)
   
 APL code  1305
 GKS RCP code  X'38008000' (939556864)
   


Function: To inquire operating state value.

Inquiry function. Returns the current operating state of GKS.

Parameters


opsta (returned by GDDM) (fullword integer)
The operating state value. The possible values are:

0 (GGKCL)
GKS closed
1 (GGKOP)
GKS open
2 (GWSOP)
At least one workstation is open; no workstation active
3 (GWSAC)
At least one workstation is active; no segment open
4 (GSGOP)
Segment open

Operating states


GKOP, WSOP, WSAC, SGOP

Related functions


Open GKS (GOPKS), Close GKS (GCLKS), Open workstation (GOPWK), Close workstation (GCLWK), Activate workstation (GACWK), Deactivate workstation (GDAWK), Create segment (GCRSG), Close segment (GCLSG), Emergency close GKS (GECLKS)

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


None

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012