Cache control unit status data section

There is one section per record.

Offsets Name Length Format Description
0 0 R745SVOL 6 EBCDIC Volume serial of device.
6 6   2   Reserved.
8 8 R745SUNT 3 binary Unit address for sense command.
11 B   1   Reserved.
12 C R745SDEV 2 binary Device number.
14 E R745SLN 2 binary Length of data section.
16 10 R745SFT 1 binary Status data format.
Bit
Meaning
0-3
Reserved.
4-7
Format of data returned:

B'....0000' = 40 bytes sense.
B'....1111' = 44 bytes sense.

17 11 R745SDID 1 binary Device ID.
18 12 R745SNAD 1 binary Number of attached devices.
19 13 R745SNSS 1 binary Number of statistic sets.
20 14 R745SCS 1 binary Caching status.
Bit
Meaning
0-2
Overall caching status:

B'000' = Caching active.
B'001' = Pending active.
B'010' = Subsystem error.
B'011' = Reserved.
B'100' = Host or support facility deactivated.
B'101' = Cache suspended.
B'110' = Pending off in process.
B'111' = Pending off failure.

3
Disabled for maintenance.
4-5
Reserved.
6
IML device not available.
7
Non-retentive deactivated.
21 15 R745SVSS 1 binary Non-volatile storage status.
Bit
Meaning
0
Host termination.
1
Problem termination.
2
Reserved.
3
Disabled for maintenance.
4
Pending due to problem.
5-7
Reserved.
22 16 R745SCLN 2 binary Length of subsystem count area.
24 18   2   Reserved.
26 1A R745SCNF 4 binary Configured subsystem storage.
30 1E R745SAVL 4 binary Available subsystem storage.
34 22 R745SPIN 4 binary Pinned subsystem storage, collected for 3990-03/06 and 2105 only.
38 26 R745SOFF 4 binary Offline subsystem storage, collected for 3990-03/06 and 2105 only.
42 2A R745SDS1 1 binary Addressed device status 1.
Bit
Meaning
0-1
Device caching status:

B'00' = Activated.
B'01' = Not used.
B'10' = Deactivate pending.
B'11' = Deactivated.

2-3
DASD fast write status:

B'00' = DFW allowed.
B'01' = Not used.
B'10' = Deactivate pending.
B'11' = Deactivated.

4
Primary duplex pair.
5
Secondary duplex pair.
6-7
Duplex pair status:

B'00' = Available.
B'01' = Pending.
B'10' = Failed primary.
B'11' = Failed not primary.

43 2B R745SDS2 1 binary Addressed device status 2.
Bit
Meaning
0
Device is failed duplex.
1
Pinned data.
2-7
Other device in duplex.
44 2C R745SCNV 4 binary Configured non-volatile cache, collected for 3990-03/06 and 2105 only.
48 30 R745SPND 4 binary Pinned non-volatile cache, collected for 3990-03/06 and 2105 only.
52 34 R745SG2 1 binary Device status group 2.
Bit
Meaning
0-1
Cache optimization level:

B'00' = Rec full adapt.
B'01' = Write rec adapt.
B'10' = Def ext record.
B'11' = Track mode.

2
Data on failed NVS.
3
Defective battery destage pending.
4-5
Volume state:

B'00' = Non spare.
B'01' = Reserved.
B'10' = Spare.
B'11' = Broken spare.

6-7
Pinned data:

B'00' = Not pinned and FW.
B'01' = Pinned and not FW suspended.
B'10' = Reserved.
B'11' = Pinned and FW suspended.

53 35 R745SGL 1 binary Global status.
Bit
Meaning
0
CFW and DFW suspended.
1-7
Reserved.
54 36 R745SSID 2 binary Subsystem ID.
56 38   1   Reserved.
57 39   1   Reserved.
58 3A   1   Reserved.
59 3B   1   Reserved.
60 3C   12   Reserved.