The following tables contain the structure and layout of the SMF records that can be
produced by Acquire/DASD. Type meanings:
CLn = Character stringof “n” bytes length
XLn = Hex / binary string of'n’; bytes length
PLn = Packed decimal valueof “n” bytes length
SMF RECORD HEADER
Field Name
|
Offset
|
Type and Length
|
Contents and Description
|
SMFRLEN
|
0
|
XL2
|
Record length
|
SMFSPAN
|
2
|
XL2
|
Spanned record indicator (always 0)
|
SMFOPT
|
4
|
XL1
|
SMF options, x'40' (subtypes are used)
|
SMFRTYP
|
5
|
XL1
|
Record type. Default is 188 (x'BC')
|
SMFTIME
|
6
|
XL4
|
Time record was written in seconds/100 since
midnight
|
SMFDATE
|
10
|
PL4
|
Date record was written as 0CYYDDDF
|
SMFSID
|
14
|
CL4
|
SMF ID of system
|
SMFSSYS
|
18
|
CL4
|
Subsystem name = C'SYNC'
|
SMFSTYP
|
22
|
XL2
|
X'0001' = volume data
X'0002' = SMS Storage Group
data
X'0003' = Dataset group data
|
SMFRVER
|
24
|
CL2
|
Record version, C'02' for Athene 8 or later
|
SMF#ENT
|
26
|
XL2
|
Number of variable entries that follow
|
SMFDINT
|
28
|
CL5
|
Interval associated with data in seconds, e.g.,
C'03600'
|
SMFDSID
|
33
|
4
|
SMF ID of system this data came from
|
SMFVDATA
|
37
|
*
|
Start of variable data
|
|
SUBTYPE 1 AND 2 VARIABLE DATA
Field Name
|
Offset
|
Type and Length
|
Contents and Description
|
D01VOL
|
0
|
CL6
|
Disk volume serial 1
|
D01SG
|
6
|
CL8
|
Storage Group name, C'*NONSMS*' if non-SMS
|
D01DEV
|
14
|
CL4
|
Device number, e.g., C'018F' 1
|
D01TYP
|
18
|
CL4
|
Device type, e.g., C'3390' 1
|
D01MAN
|
22
|
CL3
|
Manufacturer code, e.g., C'IBM' 1, 2
|
D01SER
|
25
|
CL15
|
Physical device serial number 1, 2
|
D01CGB
|
40
|
PL6
|
Capacity in GB, nnnnnnnnn.nnnF
|
D01UGB
|
46
|
PL6
|
Used GB, nnnnnnnnn.nnnF
|
D01FGB
|
52
|
PL6
|
Free GB, nnnnnnnnn.nnnF
|
D01UPC
|
58
|
PL2
|
Used %, nnnF
|
D01FPC
|
60
|
PL2
|
Free %, nnnF
|
D01FRAG
|
62
|
PL4
|
Fragmentation index, packed decimal nnnnnnnF 3
|
|
SUBTYPE 3 VARIABLE DATA
Field Name
|
Offset
|
Type and Length
|
Contents and Description
|
D02DSGNM
|
0
|
CL20
|
Dataset group name
|
D02ALLOC
|
20
|
PL6
|
Total allocation in GB, packed decimal
nnnnnnnnn.nnnF
|
D02USED
|
26
|
PL6
|
Used GB, packed decimal nnnnnnnnn.nnnF
|
D02FREE
|
32
|
PL6
|
Free GB, packed decimal nnnnnnnnn.nnnF
|
|
Note: This field is set to blanks for subtype 2 records.
Note: This field is set to blanks if data was captured in single-shot mode
(MODE=S).
Note: This field is set to -1 (x'0000001D') for subtype 2 records.
No more than
400 variable entries are ever stored in one record, making the maximum
record length:
Header (37 bytes) + 400 * Max variable (66 bytes) =
26,437?