Optional Parameters

All parameters shown in the base part of the query reply must be present. Parameters not used are set to X'00'.

At least one self-defining parameter must be present.

Table 1. IBM Auxiliary Device Base Format with Direct Access Self-Defining Parameter
Offset Length Content Meaning
0–1 1 word Length Length of structure (includes self-defining parameters)
2 1 byte X'81' Query reply ID
3 1 byte X'9E' IBM auxiliary device reply
4

1 byte
 
BIT 0
 
 
1–7

FLAGS
 
QUERY
B'1'
 
RES

Reserved
 
Read Part (Query, Query List)
Auxiliary device supports Query
 
Reserved, must be B'0's

5 1 byte FLAGS Reserved
6–7 2 bytes LIMIN Maximum DDM bytes allowed in inbound transmission
8–9 2 bytes LIMOUT Maximum DDM bytes allowed in outbound transmission
10 1 byte

TYPE
X'01'
X'02'
Others

Type of auxiliary device supported
IBM auxiliary device display
IBM auxiliary device printer
Reserved

11 1 byte X'04' Parameter length
12 1 byte X'01' Direct access
13–14 1 word DOID Destination/origin ID assigned by the subsystem

QUERY This bit must be set to B'1' for all IBM auxiliary devices to indicate that it supports receiving a Read Partition (Query, Query List). The host applications can then use a Read Partition directed to the auxiliary device to determine its characteristics. The destination/origin structured field is used to direct the Read Partition structured field to the auxiliary device.

The minimum support level for the IBM auxiliary device is to return the Null query reply in response to the Read Partition.

LIMIN States the maximum number of bytes that can be sent in an inbound transmission. A LIMIN value of X'0000' indicates no implementation limit on the number of bytes transmitted inbound.
LIMOUT States the maximum number of bytes that can be sent to an IBM auxiliary device in an outbound transmission. A LIMOUT value of X'0000' indicates no implementation limit on the number of bytes transmitted outbound.
TYPE Identifies the auxiliary device being supported. Two values are valid. One identifies an auxiliary display and the other identifies an auxiliary printer. All other values are reserved.

The IBM auxiliary device processor supports two self-defining parameters, 01 and 03. These are defined in Table 1.