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


GSPKID

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



Purpose



 GSPKID  (pkid)
   
 APL code  1342
 GKS RCP code  X'38002A00' (939534848)
   


Function: To set pick identifier.

Attribute function. Sets the current pick identifier.

Parameters


pkid (specified by user) (fullword integer)
The pick identifier.


Operating states


GKOP, WSOP, WSAC, SGOP

Related functions


Set pick mode (GSPKM)

Description


This function sets the current pick identifier. The "current pick identifier" entry in the GKS state list is set to the value given by pkid. During pick input, the application program identifies a primitive by the pick identifier that was current when the primitive was created.

Primitives in the same segment or in other segments may have the same pick identifier. If this function is not called before output primitive functions in your program, the default pick identifier value of zero is used.

Principal errors


8
GKS not in proper state: GKS shall be in one of the states GKOP, WSOP, WSAC, or SGOP
97
Pick identifier is invalid

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012