INQUIRE LIST OF PATTERN INDICES
-
CALL SEQUENCE
CALL PQEPAI (WKID, N, ERRIND, OL, PAI)
INPUT PARAMETERS
- INTEGER WKID
- Workstation identifier.
- INTEGER N
- Requested element in pattern representation list.
OUTPUT PARAMETERS
- INTEGER ERRIND
- Error indicator
- INTEGER OL
- Number of defined pattern representations.
- INTEGER PAI
- Nth pattern index in the defined representation list.
PHIGS STATE
(PHOP, WSOP, *, *).
EFFECT
Returns the number of elements as well as the Nth element in the list ofpattern
indices defined in workstation WKID's workstation state list. If the
inquired information is available, the error indicator is returned as 0 and
values are returned in the output parameters.
If the inquired information is not available, the values returned in the output
parameters are implementation dependent and the error indicator is set to one
of the following error numbers to indicate the reason for non-availability:
ERRORS
- 3
Ignoring function, function requires state (PHOP, WSOP,*,*)
- 54
- Ignoring function, the specified workstation is not open
- 59
- Ignoring function, the specified workstation does not have output
capability (i.e. the workstation category is neither OUTPUT, OUTIN, nor
MO)
SEE ALSO
set pattern representation.