McKown, John wrote:
Outside of that, if this were to be done often, then I'd write my own
program. In HLASM, assuming a sequential file, I'd look at the DS1LSTAR
(and DS1TRBAL if the DS is extended format). I would then use BSAM and
POINT myself at record 1 of either the last track or next-to-last track
and read forward from there until EOF. This does not apply to any other
dataset type.

That was my first thought when I saw the original post, but life has a way of being difficult - what if it's VBS with a very, very long last record?

Gerhard Postpischil
Bradford, VT

new e-mail address: gerhardp (at) charter (dot) net

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