In a message dated 7/14/2006 2:57:29 P.M. Central Daylight Time,  
[EMAIL PROTECTED] writes:

>As each directory block is a 256 byte record simply counting them  will do 
the trick.
Right.  But you also have to know when to stop counting, and the  answer to 
that is when you hit the end of the directory which is denoted by an  EOF 
record on the track.  This will cause your input access method to go  to the 
end of 
file, EODAD, or whatever it's called in that access  method.  The directory 
and each member in a PDS is a separate sequential  file, lots of blocks 
followed by an EOF block to denote the end of that member  (or directory).
 
Bill  Fairchild




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