Looks right to me.
Is the file really indexed (are you pointing to something else that
isn't)?
Does the index really start in position 2 for 23 long?
Does the arrival sequence just happen to match the key?
From: Booth Martin <booth@xxxxxxxxxxxx>
To: RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
Date: 03/31/2017 10:37 AM
Subject: QS36F indexed file
Sent by: "RPG400-L" <rpg400-l-bounces@xxxxxxxxxxxx>
It has been a long time.
fJBDET uf a f 104 23AIdisk keyloc(2)
...
c dou *inlr
c read JBDET lr
...
This reads the file in arrival order, not in key sequence. What have I
missed?
As an Amazon Associate we earn from qualifying purchases.
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.