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


GACWK

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



Purpose



 GACWK  (wkid)
   
 APL code  1307
 GKS RCP code  X'38000400' (939525120)
   


Function: To activate workstation.

Control function. Makes the workstation ready for GKS output.

Parameters


wkid (specified by user) (fullword integer)
The identifier selected when the workstation was opened.


Operating states


WSOP, WSAC

Related functions


Close workstation (GCLWK), Open workstation (GOPWK), Deactivate workstation (GDAWK)

Description


This function makes a workstation ready to receive output. The specified workstation is marked active in the workstation state list and is added to the list of active workstations in the GKS state list. If the GKS operating state is WSOP, the state is set to WSAC.

Output primitives are sent to, and segments are stored on, all active workstations and no others. Input and MI workstations cannot be activated.

Principal errors


6
GKS not in proper state: GKS shall be either in the state WSOP or in the state WSAC
20
Specified workstation identifier is invalid
25
Specified workstation is not open
29
Specified workstation is active
33
Specified workstation is of category MI
35
Specified workstation is of category INPUT
43
Maximum number of simultaneously active workstations would be exceeded

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012