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


GQOPSG

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



Purpose



 GQOPSG  (errind, sgna)
   
 APL code  1465
 GKS RCP code  X'3800A600' (939566592)
   


Function: To inquire name of open segment.

Inquiry function. Returns the name of the currently open segment from the GKS state list.

Parameters


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

sgna (returned by GDDM) (fullword integer)
The segment name.


Operating states


SGOP

Related functions


Create segment (GCRSG)

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


4
GKS not in proper state: GKS shall be in the state SGOP

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012