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


GQPPLR

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



Purpose



 GQPPLR
                                    
 (wtype, pli, errind, lntype,
 lwidth, coli)
   
 APL code  1400
 GKS RCP code  X'3800C700' (939575040)
   


Function: To inquire predefined polyline representation.

Inquiry function. Returns the representation associated with a predefined polyline index for a given workstation type, from the workstation description table.

Parameters


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

pli (specified by user) (fullword integer)
The predefined polyline index (1 ... n).

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

lntype (returned by GDDM) (fullword integer)
The line type. The possible values are:

0 (GLSOLI)
Solid line
1 (GLDASH)
Dashed line
2 (GLDOT)
Dotted line
3 (GLDASD)
Dash-dotted line

lwidth (returned by GDDM) (short floating point)
The line-width scale factor.

coli (returned by GDDM) (fullword integer)
The polyline color index (0 ... n).


Operating states


GKOP, WSOP, WSAC, SGOP

Related functions


Set polyline index (GSPLI), Set polyline representation (GSPLR)

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
39
Specified workstation is neither of category OUTPUT nor of category OUTIN
60
Polyline index is invalid
62
A representation for the specified polyline index has not been predefined on this workstation

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012