| GPQWDT (wstype, id, lidata, idata, mlodata, errind, lodata, odata) |
Note:
This subroutine is a Workstation Description Table (WDT) inquiry. For an overview, see "WDT Inquiries"
Purpose
Use GPQWDT to inquire particular information from the Workstation Description Table for the specified workstation. The id parameter identifies the data that the graPHIGS API returns. Some data types may require additional information in the idata parameter.
If the information is available, then the graPHIGS API sets the error indicator to zero and returns the values in the output parameter. If the inquired information is unavailable, then the error indicator (errind) contains the error number indicating the reason, and the values returned in the output parameters are unpredictable.
The mlodata parameter specifies the length of the odata output parameter. In general, the length of the odata output area must be a certain minimum length. See the parameter descriptions for the required mimimum lengths.
Parameters
---------------------
WORDS 1 | 'maxhs' | Fullword integer
|-------------------|
2 | 'noper' | Fullword integer
|-------------------|
3n | 'loper' | noper *
Z Z Fullword integer
| |
---------------------
---------------------
WORDS 1 | 'alphab' | Fullword integer
|-------------------|
2 | 'nptl' | Fullword integer
|-------------------|
3 | 'nsrcf' | Fullword integer
|-------------------|
4 | 'ndestf' | Fullword integer
|-------------------|
5 n | 'lsrcf' | nsrcf * Fullword integer
|-------------------|
n m | 'ldestf' | ndestf * Fullword integer
---------------------
---------------------
WORDS 1 | 'ndmrep' | Fullword integer
|-------------------|
2 | 'ndatam' | Fullword integer
|-------------------|
3 | 'nctypes' | Fullword integer
|-------------------|
4 n | 'ldatam' | ndatam *
| | Fullword integer
|-------------------|
n m | 'lctypes' | nctypes *
| | Fullword integer
---------------------
---------------------
WORDS 1 | 'nencodm' | Fullword integer
|-------------------|
3 n | 'lencodm' | nencodm *
| | Fullword integer
---------------------
---------------------
WORDS 1 | 'nmorphv' | Fullword integer
---------------------
Error Codes
None
RCP code
201346065 (X'0C004C11')