GDDM-GKS V1R1 Programming Guide and Reference
|
Previous topic |
Next topic |
Contents |
Index |
Contact z/OS |
Library |
PDF |
BOOK
GCLRWK GDDM-GKS V1R1 Programming Guide and Reference SC33-0334-00 |
|||||||||||||
Purpose
Function: To clear workstation. Control function. Clears the display surface of a workstation according to the value of a control flag and releases all segments at the workstation. Parameters wkid (specified by user) (fullword integer)
cofl (specified by user) (fullword integer)
WSOP, WSAC Related functions Associate segment with workstation (GASGWK), Update workstation (GUWK), Delete segment from workstation (GDSGWK), Set workstation window (GSWKWN), Set workstation viewport (GSWKVP) Description This function executes any deferred actions for the specified workstation and then clears the display surface according to the value of cofl. If cofl is 0, the display surface clears only if an object appears on it. If cofl is 1, the display surface always clears. If the workstation state list (WSL) for the workstation indicates that a workstation transformation update is pending, the current workstation window and viewport are set to those requested by previous calls to the functions Set workstation window (GSWKWN) or Set workstation viewport (GSWKVP). The "workstation transformation update state" entry in the WSL is set to notpending. GCLRWK also releases all segments at the workstation. For each segment stored on the workstation, the workstation is deleted from the list of associated workstations kept in the segment state list. Any segments associated only with workstation wkid are deleted. The list of segments stored at the workstation is set to empty. Finally, the WSL entry "new frame action necessary at update" for the workstation is set to no and the entry "display surface empty" is set to empty. Principal errors
|
Copyright IBM Corporation 1990, 2012 |