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


GQFAR

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



Purpose



 GQFAR
                                    
 (wkid, fai, type, errind, ints,
 styli, coli)
   
 APL code  1478
 GKS RCP code  X'3800B400' (939570176)
   


Function: To inquire fill area representation.

Inquiry function. Returns the representation associated with a given fill area index at a workstation, from the workstation state list.

Parameters


wkid (specified by user) (fullword integer)
The workstation identifier.

fai (specified by user) (fullword integer)
The fill area index.

type (specified by user) (fullword integer)
The type of returned values. The possible values are:

0 (GSET)
Set
1 (GREALI)
Realized

If type equals set, the values are the same as those originally passed by the Set fill area representation (GSFAR) function call. If type equals realized, the returned values are the closest available actual values at that device.

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

ints (returned by GDDM) (fullword integer)
The fill area interior style. The possible values are:

0 (GHOLLO)
Hollow
1 (GSOLID)
Solid
2 (GPATTR)
Patterned
3 (GHATCH)
Hatched

styli (returned by GDDM) (fullword integer)
The fill area interior style index. This gives the hatch style or pattern according to ints.

coli (returned by GDDM) (fullword integer)
The fill area color index.


Operating states


GKOP, WSOP, WSAC, SGOP

Related functions


Set fill area representation (GSFAR)

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


7
GKS not in proper state: GKS shall be in one of the states WSOP, WSAC, or SGOP
20
Specified workstation identifier is invalid
25
Specified workstation is not open
33
Specified workstation is of category MI
35
Specified workstation is of category INPUT
36
Specified workstation is Workstation Independent Segment Storage
80
Fill area index is invalid
81
A representation for the specified fill area index has not been defined on this workstation
2000
Enumeration type out of range

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012