Hi again skippy and slade,
I have another suggestion, similar somewhat to slade's
but not using the 'dynamic allocation' since I am not
familiar with that, and I think that if you have a file
that is on multiple volumes and you just use a volume that
is not the first, you will get an error...
Hi skippy,
Try this.
Set up a field in working storage that is the same size of your record, and when you get to the 'AT END '
of the file, your last record will be there. If
you want to get the last n records, set up a table with that amount (i.e. 10) of records and keep on moving them...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.