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


GSPKM

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



Purpose



 GSPKM  (wkid, pkdnr, mode, esw)
   
 APL code  1375
 GKS RCP code  X'38004F00' (939544320)
   


Function: To set pick mode.

Input function. Sets the operating mode and echo switch for a pick device at a workstation. (See the section "GDDM-GKS restrictions" below.)

Parameters


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

pkdnr (specified by user) (fullword integer)
The pick device number.

mode (specified by user) (fullword integer)
The operating mode. The possible values are:

0 (GREQU)
Request
1 (GSAMPL)
Sample
2 (GEVENT)
Event

esw (specified by user) (fullword integer)
The echo switch. The possible values are:

0 (GNECHO)
No echo
1 (GECHO)
Echo

Operating states


WSOP, WSAC, SGOP

Related functions


Initialize pick (GINPK), Request pick (GRQPK)

Description


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

This function sets the operating mode and echo switch for a given pick input device; these are stored in the workstation state list.

GDDM-GKS Restrictions

Event and sample modes are not supported at GKS level 2b. If one of these modes is selected, 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
20
Specified workstation identifier is invalid
25
Specified workstation is not open
37
Specified workstation is not of category OUTIN
140
Specified input device is not present on workstation
143
EVENT and SAMPLE input mode are not available at this level of GKS
2000
Enumeration type out of range

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012