GPQWCT (wsid, errind, connid, wstype) |
Purpose
Use GPQWCT to inquire the connection identifier and generic workstation type of the specified workstation identifier. The generic workstation type is the type that was developed from the Open Workstation (GPOPWS) subroutine or Create Workstation (GPCRWS) subroutine or the type that resulted from Nickname Default processing.
If the inquired information is available, then the graPHIGS API sets the error indicator to zero and returns the values in the output parameters. If the inquired information is unavailable, then the error indicator (errind) contains an error number indicating the reason, and the values returned in the output parameters are unpredictable.
Parameters
Note: It the connection identifier is >8 characters, then it is truncated and the errind parameter is set to 533
Error Codes
None
Related Subroutines
RCP code
201336841 (X'0C002809')