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


GQDSP

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



Purpose



 GQDSP
                                    
 (wtype, errind, dcunit, rx, ry,
 lx, ly)
   
 APL code  1388
 GKS RCP code  X'3800C300' (939574016)
   


Function: To inquire display space size.

Inquiry function. Returns the device units and the maximum display surface size, in both device coordinates and raster units, for a workstation, from the workstation description table.

Parameters


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

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

dcunit (returned by GDDM) (fullword integer)
The device coordinate system units. The possible values are:

0 (GMETRE)
Meters
1 (GOTHU)
Other units

rx (returned by GDDM) (short floating point)

ry (returned by GDDM) (short floating point)
The maximum display surface size in device coordinates.

lx (returned by GDDM) (fullword integer)

ly (returned by GDDM) (fullword integer)
The maximum display surface size in raster units.


Operating states


GKOP, WSOP, WSAC, SGOP

Related functions


None.

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


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
31
Specified workstation is of category MO
33
Specified workstation is of category MI
36
Specified workstation is Workstation Independent Segment Storage

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012