Previous Next Up Title Contents Index Functions Index Top Library

CLOSE WORKSTATION

PCLWK


CALL SEQUENCE

CALL PCLWK (WKID)

INPUT PARAMETERS

INTEGER WKID
Workstation identifier.

PHIGS STATE

(PHOP, WSOP, *, *).

EFFECT

Closing the workstation causes the following operations to be carried out:

- An UPDATE WORKSTATION is automatically executed.

- Workstation identifier WKID is removed from the set of open workstations entry in the PHIGS STATE list.

- All events relating to this workstation are removed from the input queue.

- The workstation description table associated with workstation WKID - the same as was specified in the call to OPEN WORKSTATION - is no longer valid.

- The connection identifier associated with the workstation is freed.

- The workstation may be but is not necessarily cleared when closed.

Note that if any workstations remain open, the workstation state remains set to WSOP. If no workstations are open, the workstation state is set to WSCL.

ERRORS

3
Ignoring function, function requires state (PHOP, WSOP,*,*)
54
Ignoring function, the specified workstation is not open
256
Warning, the input queue has overflowed

SEE ALSO

open workstation


Previous Next Up Title Contents Index Functions Index Top Library