Base DDM Query Reply Formats
The following query reply formats are examples of some of the Base + SDP (self-defining parameter) combinations possible. Not all of the combinations are shown.
Offset | Length | Content | Meaning |
---|---|---|---|
0 | 1 word | Length | Length of structure (includes self-defining parameters) |
2 | 1 byte | X'81' | Query reply ID |
3 | 1 byte | X'95' | Query Reply type |
4–5 | 2 bytes | 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 | NSS | Number of subsets supported |
11 | 1 byte | DDMSS | DDM subset identifier |
12 | 1 byte | Length (n+2) | Parameter length |
13 | 1 byte | X'02' | DDM application name |
14– (13+n) | n bytes | Name | Name of the remote application program |
14+n | 1 byte | X'04' | Parameter length |
15+n | 1 byte | X'01' | Direct access ID |
16+n – 17+n | 2 bytes | DOID | Destination/origin ID assigned by the subsystem |
The self-defining parameters begin at offsets 12 and (14 + n) where n is the length of the application name supplied at offset 14.
Refer to IBM 3270 Information Display System Data Stream Programmer's Reference for the field definitions for this query reply.
Offset | Length | Content | Meaning |
---|---|---|---|
0 | 1 word | Length | Length of structure (includes self-defining parameters) |
2 | 1 byte | X'81' | Query reply ID |
3 | 1 byte | X'95' | Query reply type |
4–5 | 2 bytes | 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 | NSS | Number of subsets supported |
11 | 1 byte | DDMSS | DDM subset identifier |
12 | 1 byte | X'04' | Parameter length |
13 | 1 byte | X'01' | Direct access ID |
14–15 | 2 bytes | DOID | Destination/origin ID assigned by the subsystem |
16 | 1 byte | Length (n+2) | Parameter length |
17 | 1 byte | X'02' | DDM application name |
16+n – 17+n | n bytes | Name | Name of the remote application program |
The self-defining parameters begin at offsets 12 and 16.
Refer to IBM 3270 Information Display System Data Stream Programmer's Reference for the field definitions for this query reply.