GPQPK (wsid, device, type, inlen, exlen, pathlen, length, errind, mode, echosw, inclen, incl, exclen, excl, depth, pickpath, echo, area, datalen, data, order) |
Note:
This subroutine is a Workstation State List (WSL) inquiry. For an overview, see "WSL Inquiries"
Purpose
Use GPQPK to inquire the current state of the specified pick device attached to a specified workstation.
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 533 (an output parameter is not large enough for all the requested data), then the values up to the length specified are 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
The pickpath array contains a list of pickpath entries in row order. Each entry is a triplet consisting of a structure identifier, pick identifier, and element number.
Error Codes
None
Related Subroutines
RCP code
201338883 (X'0C003003')