Dumb Question

I still process some files via RPG READ loop after *LOVAL SETLL

I want to access a file by descending key & would you believe I have never
done that before via READ* variants?
I have got a logical of the records in descending sequence & I am not sure if
my logic would be same pattern
ie. *LOVAL SETLL file then READ loop ("forwards" through the records)
or if I should *HIVAL SETHH at begeinning because I'm going to be reading
backwards.

Reason for this is I want to flag the oldest entries for deletion & I thought
I would start at the beginning of the point I want to keep.

MacWheel99@aol.com (Alister Wm Macintyre) (Al Mac)


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.