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


GQPPAR

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



Purpose



 GQPPAR
                                    
 (wtype, ppai, dimx, dimy, errind,
 dx, dy, parray)
   
 APL code  1414
 GKS RCP code  X'3800CF00' (939577088)
   


Function: To inquire predefined pattern representation.

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

Parameters


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

ppai (specified by user) (fullword integer)
The predefined pattern index (1 ... n).

dimx (specified by user) (fullword integer)

dimy (specified by user) (fullword integer)
The maximum pattern array dimensions.

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

dx (returned by GDDM) (fullword integer)

dy (returned by GDDM) (fullword integer)
The dimensions of the pattern array returned in parray.

parray (returned by GDDM) (an array of fullword integers)
The pattern array.


Operating states


GKOP, WSOP, WSAC, SGOP

Related functions


Set pattern representation (GSPAR)

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
85
Specified pattern index is invalid
89
A representation for the specified pattern index has not been predefined on this workstation
90
Interior style PATTERN is not supported on this workstation
2001
Output parameter size insufficient

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012