GDDM-GKS V1R1 Programming Guide and Reference
|
Previous topic |
Next topic |
Contents |
Index |
Contact z/OS |
Library |
PDF |
BOOK
Inquiry functions GDDM-GKS V1R1 Programming Guide and Reference SC33-0334-00 |
|
A normal return is indicated by a zero in the error indicator output parameter; if the data requested is unavailable, the parameter contains a GKS error number. The inquiry functions are useful if you need specific information about the system and its workstations. In this example, an inquiry function returns data needed to set the workstation viewport to be the lower left quadrant of the display surface.
INQUIRE DISPLAY SPACE SIZE (wktype, error,
dcunits, xdevice, ydevice, xraster, yraster)
SET WORKSTATION VIEWPORT (wkid, 0.0, xdevice/2.0,
0.0, ydevice/2.0)
|
Copyright IBM Corporation 1990, 2012 |