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


GSLCM

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



Purpose



 GSLCM  (wkid, skdnr, mode, esw)
   
 APL code  1371
 GKS RCP code  X'38004B00' (939543296)
   


Function: To set locator mode.

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

Parameters


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

skdnr (specified by user) (fullword integer)
The locator 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 locator (GINLC), Request locator (GRQLC)

Description


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

This function sets the operating mode and echo switch for a given locator 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
38
Specified workstation is neither of category INPUT nor 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