GPQRCT (wsid, ilen, errind, olen, connid, wstype) |
Note:
This subroutine is a Workstation State List (WSL) inquiry. For an overview, see "WSL Inquiries"
Purpose
Use GPQRCT to inquire the connection identifier and the realized workstation type of the specified workstation identifier. When you create a workstation using the Open Workstation (GPOPWS) subroutine, or the Create Workstation (GPCRWS) subroutine, the graPHIGS API assigns a workstation type. This type is the realized workstation type.
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 error indicator is 536 (the actual connection identifier is greater than the length of the area provided), then only the actual length (olen) of the connection identifier is returned. 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
Error Codes
None
Related Subroutines
None
RCP code
201336850 ( X'0C002812')