Rob Fitzpatrick
ProgressTalk.com Sponsor
Yes. What I refer to as "the RM header" is numdir, freedir, and free.Code:RMBLK: 0040 numdir: 0x02 2 0041 freedir: 0xfd 253 0042 free: 0x1f8c 8076 0044 entry # 0: 0x1fef 8175 0046 entry # 1: 0x1fd4 8148
"numdir" and "freedir" are 1 byte fixed fields.
Offset directory is a variable structure. Each entry uses 2 bytes.
BTW, dbrpr seems to be updated in V12.8: "entry #".
Dbrpr was enhanced in 12.8, to show more details of the RM header and the row directory. Rowids are new, along with some new base conversion. They also fixed one or two bugs. E.g. the phantom partitionId field between objectId and objectType is gone.
sports, first record block of Customer, excerpt:
12.7:
Code:
0010 bkCheckSum: 0xa5da -23078
bkHeaderSize: 0x0040 64
objectId: 0x0002 2
partitionId: 0x0000 0
objectType: 0x0001 1
bkObjDbkey: 0x0000000000000100 256
RMBLK:
numdir: 25
freedir: 7
free: 156
dir:
[ 0] Offset: 0x0fd0 Size: 46 Table number: 2 Table schema version: 0
[ 1] Offset: 0x0f2d Size: 161 Table number: 2 Table schema version: 0
[ 2] Offset: 0x0e88 Size: 163 Table number: 2 Table schema version: 0
[ 3] Offset: 0x0dd7 Size: 175 Table number: 2 Table schema version: 0
12.8:
Code:
0010 bkCheckSum: 0xa5da -23078
bkHeaderSize: 0x0040 64
objectId: 0x0002 2
objectType: 0x0001 1
bkObjDbkey: 0x0000000000000100 256
RMBLK:
0040 numdir: 0x19 25
0041 freedir: 0x07 7
0042 free: 0x009c 156
0044 entry # 0: 0x0fd0 4048
0046 entry # 1: 0x0f2d 3885
0048 entry # 2: 0x0e88 3720
004a entry # 3: 0x0dd7 3543
Dir:
[ 0] Recid: 384 Offset: 4048 Size: 46 Table number: 2 Table schema version: 0
[ 1] Recid: 385 Offset: 3885 Size: 161 Table number: 2 Table schema version: 0
[ 2] Recid: 386 Offset: 3720 Size: 163 Table number: 2 Table schema version: 0
[ 3] Recid: 387 Offset: 3543 Size: 175 Table number: 2 Table schema version: 0
There are also changes in the data presentation of fragment details (menu 13, option 1). Here are 12.8 and 12.7 side by side:
Code:
12.8: 12.7:
Dir: dir:
[ 0] Recid: 384 Offset: 4048 Size: 46 Table number: 2 Table schema version: 0 [ 0] Offset: 0x0fd0 Size: 46 Table number: 2 Table schema version: 0
0x002e Fragement Size: 46 0 0xe7 SKIPTBL [ 0: 3] 0x0000 0
0 0xe7 0x00 0x02 SKIPTBL Size: 2 Entries: 1 5 0xfa VECTOR Size: 0
3 [1:3] 0x0027 39 (44) REC_TBLVERS: 0
1 5 0xfa 0x00 0x0b TABLE_INFO_VECTOR Size: 11 Begins... REC_TBLNUM: 2
8 [1:8] 0 0x00 "." REC_TBLVERS: 0 REC_TBLFLDCOUNT: 17
9 [2:9] 1 0x01 0x02 ".." REC_TBLNUM: 2 Spare 1: 0xfd VUNKNOWN
11 [3:11] 1 0x01 0x11 ".." REC_TBLFLDCOUNT: 17 Spare 2: 0xfd VUNKNOWN
13 [4:13] 1 0xfd VUNKNOWN Spare Spare 3: 0xfd VUNKNOWN
14 [5:14] 1 0xfd VUNKNOWN Spare Spare 4: 0xfd VUNKNOWN
15 [6:15] 1 0xfd VUNKNOWN Spare Spare 5: 0xfd VUNKNOWN
16 [7:16] 1 0xfd VUNKNOWN Spare 8 0 ""
17 [8:17] 1 0xfd VUNKNOWN Spare 9 1 0x02 "."
18 0xff ENDREC 11 1 0x11 "."
2 19 0 0x00 "." 13 0xfd VUNKNOWN
3 20 0 0x00 "." 14 0xfd VUNKNOWN
4 21 0 0x00 "." 15 0xfd VUNKNOWN
5 22 0 0x00 "." 16 0xfd VUNKNOWN
6 23 0 0x00 "." 17 0xfd VUNKNOWN
7 24 0 0x00 "." 18 0xff ENDREC
8 25 3 0x03 0x55 0x53 0x41 ".USA" 19 0 ""
9 29 0 0x00 "." 20 0 ""
10 30 0 0x00 "." 21 0 ""
11 31 0 0x00 "." 22 0 ""
12 32 0 0x00 "." 23 0 ""
13 33 3 0x03 0x80 0x15 0x00 "...." 24 0 ""
14 37 0 0x00 "." 25 3 0x55 0x53 0x41 "USA"
15 38 5 0x05 0x4e 0x65 0x74 0x33 0x30 ".Net30" 29 0 ""
16 44 0 0x00 "." 30 0 ""
17 45 0 0x00 "." 31 0 ""
32 0 ""
33 3 0x80 0x15 0x00 "..."
37 0 ""
38 5 0x4e 0x65 0x74 0x33 0x30 "Net30"
44 0 ""
45 0 ""