At 11:53 -0600 on 02/28/2006, Chase, John wrote about Finding "embedded" short blocks:

Hi, All,

Is there an "easy" way to find any "short blocks" that might exist in a
FB dataset?  We don't have DITTO (IBM File Manager), and I haven't found
a way with File-Aid yet.

TIA,

    -jc-

There is no harm in short blocks (which would normally only occur with multiple file extensions due to DISP=MOD) in a FB Dataset. Finding one embedded in a FBS Dataset OTOH is BAD NEWS.

The simplest way I know to find them is to write a Q&D Assembler program to read the file via BSAM and check the BLOCK-SIZE of each block read. You've found one if a short block is NOT followed by EOF (ie: If you find another block after reading a short block). There also may be something useful on the CBT Modes tape.

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