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


Control functions

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



GKS control functions initialize and terminate GKS, and provide you with workstation control functions.

In your application, you must call Open GKS (GOPKS) before any other GKS function. It sets the system to the operating state GKOP. The GKS state list is initialized with default values. The GKS description table and the workstation description tables are made available for inquiry functions. You specify a number to identify the file to be used by GDDM-GKS for error logging.

Open workstation (GOPWK) sets the system to the operating state WSOP. A workstation state list is initialized with default values for each workstation you open. You assign the workstation an identifying number for use in other functions. You specify a number that identifies the workstation type (physical devices, WISS, metafile and so on); to open the GDDM-GKS user console, you use workstation type 1. The connection identifier identifies a particular device.

Activate workstation (GACWK) sets the system to the operating state WSAC. Only output, outin, WISS, and MO workstations can be activated. This function causes subsequent output primitives to go to the device.

For more information on the state lists and description tables, see Appendix A, "GKS data structures" in topic A.0.

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012