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


GGTPK

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



Purpose



 GGTPK  (stat, sgna, pkid)
   
 APL code  1399
 GKS RCP code  X'38006300' (939549440)
   


Function: To get pick.

Input function. Returns the segment name, status and pick identifier. (See the section "GDDM-GKS restrictions" below.)

Parameters


stat (returned by GDDM) (fullword integer)
The status. The possible values are:

0 (GOK)
OK
1 (GNPICK)
No pick

If the status equals OK, the pick input contains a segment name and pick identifier. The OK status also indicates that the pick device was pointing to an output primitive stored in a segment when the event was created. A no pick status means that the device was not pointing to a primitive inside a segment.

sgna (returned by GDDM) (fullword integer)
The segment name. This identifies the picked segment.

pkid (returned by GDDM) (fullword integer)
The pick identifier. This identifies the picked object.


Operating states


WSOP, WSAC, SGOP

Related functions


Initialize pick (GINPK), Request pick (GRQPK), Set pick mode (GSPKM)

Description


(See the section "GDDM-GKS restrictions" below.)

This function returns the pick logical value in the current event report.

GDDM-GKS Restrictions

GKS does not support this function at level 2b. If this function is invoked, GDDM-GKS reports error 143.

Principal errors


7
GKS not in proper state: GKS shall be in one of the states WSOP, WSAC, or SGOP
143
EVENT and SAMPLE input mode are not available at this level of GKS
150
No input value of the correct class is in the current event report
2000
Enumeration type out of range

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012