In <[EMAIL PROTECTED]>, on 02/25/2008
   at 08:51 AM, "R.S." <[EMAIL PROTECTED]> said:

>No. First - when you calculate number of blocks, you have to take into 
>consideration many physical aspects of data storing, like Count field, 
>gaps, data cell size, data cell existence, track size, R0, etc

Only if you're doing it yourself instead of using the IBM provided
services, which take those into account for you.

>I don't know TRKALC,

Indeed.

>but I can imagine, that program assuming there is no Key

I can imagine the sun turning into a banana.

>However it doesn't change the fact

Repeating an assertion doesn't make it a fact.

>Contrary to VTOC the Key in directory contains redundant, "index" 
>information only

BSAM doesn't distinguish between redundant and non-redundant keys. If the
key doesn't count for a directory then it doesn't count for a VTOC.

>Saying directory block is 254 bytes is plain incorrect, because it's 
>not. The byte, you mention is part of the content.

As is the key.

>According to documentation, you can read directory sequentially by 
>providing LRECL=256. Again - 256.

What do you specify to read a VTOC?

-- 
     Shmuel (Seymour J.) Metz, SysProg and JOAT
     ISO position; see <http://patriot.net/~shmuel/resume/brief.html> 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

----------------------------------------------------------------------
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

Reply via email to