-----------------------------<snip>-----------------------------------
Which was why in the day I remember sorting input batch files in reverse (descending) key sequence so that the ISAM I/O would find the "next" insertion point without traversing the entire overflow chain. Ideally, if the "next" point was at the start of an overflow chain, *none* of the chain had to be read to do the next insertion.

Ah yes, those were the days... (not!).
-----------------------------<unsnip>-------------------------------
ISTR doing the same thing, sorting into descending order the names of members to be deleted from a large PDS. In that case, the overhead of rewriting the directory after the deletion point made my decision MUCH easier. Still works well with large PDS's today. I learned it initially when cleaning up an old SYS1.UADS dataset. :-)

Rick

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