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


GQSGP

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



Purpose



 GQSGP  (wtype, errind, nsg)
   
 APL code  1424
 GKS RCP code  X'3800D500' (939578624)
   


Function: To inquire number of segment priorities supported.

Inquiry function. Returns the number of segment priorities supported by a workstation type, from the workstation description table.

Parameters


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

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

nsg (returned by GDDM) (fullword integer)
The number of segment priorities supported.


Operating states


GKOP, WSOP, WSAC, SGOP

Related functions


Set segment priority (GSSGP)

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.

If nsg is returned as 0 (zero), the workstation supports an infinite number of segment priorities.

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
39
Specified workstation is neither of category OUTPUT nor of category OUTIN

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012