AVRLIST and DCTENTRY
The AVRLIST macro describes volume characteristics, the DCTENTRY macro
(called within AVRLIST) describes device characteristics that are retrieved with
the GETVCE macro. Refer to the macro descriptions for details:
Table 1 describes the mapping and contents of the DSECT fields.
Offset (in hex) | Field Name | No. of Bytes | Contents |
---|---|---|---|
0 | AVRADR | Start of AVRLIST: Volume characteristics | |
0 | AVRPUB | 4 | Address of PUB |
4 | AVRVOLID | 6 | Volume identifier |
A | AVRFLAG | 1 | Flag byte |
B | AVRTYPE | 1 | Format of device characteristics |
C | AVRVTOC | 5 | DASD address of VTOC |
C | AVRVCC | 2 | CKD cylinder number |
E | AVRVHH | 2 | CKD track number |
10 | AVRVR | 1 | CKD record number |
11 | AVRCDCST | 1 | CKD device status |
C | AVRVCI | 1 | VTOC: blocks per CI |
D | AVRVNUM | 4 | VTOC: starting block number |
11 | AVRFDCST | 1 | Dual copy status |
C | AVRTLSEQ | 3 | Library Sequence Number |
F | AVRTLSID | 1 | Library Subsystem ID |
12 | AVRLNO | 2 | Logical unit, actual value |
AVRDEVC | Device type characteristics | ||
DCTENTRY | |||
14 | DCTADR | Start of DCTENTRY: Device characteristics | |
14 | DCTPUBC | 1 | PUB device type code |
15 | DCTDTFC | 1 | DTF device type code (as in SECTVAL macro) |
16 | DCTUCBC | 4 | Unit code (as in VSAM catalog record) |
16 | DCTUFLG | 1 | Unit I/O flags |
17 | DCTUOPT | 1 | Unit features |
18 | DCTUDCL | 1 | Unit device class |
19 | DCTUTYP | 1 | Unit type |
1A | DCTPCYL | 2 | Number of cylinders/blocks |
1C | DCTACYL | 2 | Cylinders/blocks in alternate area |
1E | DCTTCYL | 2 | Tracks per cylinder |
20 | DCTBTRK | 4 | Blocks per track |
24 | DCTTFIX | 4 | Number of blocks |
28 | DCTMAXR | 2 | Block size |
2A | DCTROH | 2 | Data+key overhead for all records |
2A | DCTROH1 | 1 | Data+key overhead for non-last records |
2B | DCTROH2 | 1 | Data+key overhead for last record |
2C | DCTKYOH | 1 | Key overhead |
2D | DCTTFLG | 1 | Capacity/balance calculation ID |
2E | DCTTFAC | 2 | Tolerance factor |
2E | DCTBYSEG | 1 | Bytes/segment |
2F | DCTDCBYT | 1 | Data correction bytes |
30 | DCTRPSC | 1 | RPS device type code |
1 | Reserved | ||
32 | DCTEXTCD | 6 | External device type code |