unless you are using a LF directly in a RPG/Cobol program.
And even then you can create an index, because a SQL index can be used in
composition with native I/O like any keyed logical file!
Mit freundlichen Grüßen / Best regards
"Shoot for the moon, even if you miss, you'll land among the stars." (Les
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"
?Train people well enough so they can leave, treat them well enough so they
don't want to.? (Richard Branson)
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
Sent: Montag, 31. Januar 2022 17:09
To: 'RPG programming on IBM i' <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: SQL Index builds
Why do you want to create logical files to replace system advised indexes?
The system will always determine if it has the LF's it can use and if not,
it will recreate temporary indexes, even if you create the LF. This is
because the OS may be creating a different type of index that is quicker for
the system to use. You will see these indexes in the index advisors in both
ACS and the older access client.
My suggestion is to not create what you think you need unless you are using
a LF directly in a RPG/Cobol program. The index advisor will show you what
it needs and it allows you to create the indexes from within the index
Telephone: 770.321.8562 Mobile: 678.355.8562
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
Help support midrange.com by shopping at amazon.com with our affiliate link:
As an Amazon Associate we earn from qualifying purchases.