Hello Jean-Marc,

Am 16.12.2024 um 13:10 schrieb Jean-Marc DUVAL via RPG400-L <rpg400-l@xxxxxxxxxxxxxxxxxx>:

If you use SETLL 1, systeme will set you on the first row, but it is not necessary the rrn(1) if it does not exist.

Thank you.

I have found a post about someone using RRN 0 to position to the file BOF, and encountered EOF in setll.

https://archive.midrange.com/rpg400-l/200610/msg00416.html

So I'm confused if RRN 1 is the correct way, no matter if RRN 1 exists: The example above states if SETLL is used for RRN 3 and there is no RRN 3, EOF is also set. I guess that there is no special handling of RRN 1 in the OS routines?

:wq! PoC


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.