When primitives and attributes are output they are sent to all open and active workstations. When a workstation is deactivated no further output is sent to it. At the end of the application program all open workstations must be deactivated and closed before GKS itself can be closed.
To activate or deactivate the workstation the calls are:
CALL GACWK(WKID) CALL GDAWK(WKID)Note that Input-Only and Metafile-Input workstations may not be activated.