Length halfword..
<snipped from my prior reply to "PDS directory track(s) used">
..and here's the one and only directory block:
===> BLOCK# 1
0000(+0000) 0062 <--- each used dir blk starts with halfword
"offset-to-freespace" or "length in use in this block", either
interpretation works for me.
... 1st directory entry, for member "ONE " ...
D6D5 C5404040 40400000
030F0100 | ONE | member TTR=0000 03
0016(+0010) 00550107 140F0107 140F2116 00010001 | |
0032(+0020) 0000C7D9 C1C5D4C5 40404040
... 2nd directory entry, for member "TWO " ...
E3E6D640 | GRAEME TWO |
0048(+0030) 40404040 0000050F 01000027
0107140F | | member TTR=0000 05
0064(+0040) 0107140F 21170001 00010000 C7D9C1C5 | GRAE|
0080(+0050) D4C54040 4040
... the 12 byte end-of-directory entry, key x'FFFFFFFFFFFFFFFF' ...
FFFF FFFFFFFF FFFF0000 |ME |
0096(+0060) 0000
... rest of the block is free space ...
0000 00000000 00000000 00000000 | |
0112(+0070) 00000000 00000000 00000000 00000000 | |
0128(+0080) 00000000 00000000 00000000 00000000 | |
0144(+0090) 00000000 00000000 00000000 00000000 | |
0160(+00A0) 00000000 00000000 00000000 00000000 | |
0176(+00B0) 00000000 00000000 00000000 00000000 | |
0192(+00C0) 00000000 00000000 00000000 00000000 | |
0208(+00D0) 00000000 00000000 00000000 00000000 | |
0224(+00E0) 00000000 00000000 00000000 00000000 | |
0240(+00F0) 00000000 00000000 00000000 00000000 | |
REACHED EOF <--- there's an EOF following the directory block,
it's rec 02 on the track.
<more snips>
Regards to all,
Graeme
At 02:40 AM 5/14/2007, someone! wrote:
---------------------------<snip>------------------------------
255? Really?
Bob, you are correct to question. I should have said 256! I
completely forgot that the length byte at record start isn't
included in the length that it indicates.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html