× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Things change as you advance in releases. I don't know when it started
but you can convert simple select/omit logicals with keys into SQL, as an
index, quite easily and still have the file have the same format id so as
RPG reads in existing code wouldn't get ill.

This LF DDS can be created with this:
R ABR PFILE(AB)
K MYDATE
S MYDATA COMP(EQ 'X')

and can be deleted with this:
drop index rob.abl01
Drop of ABL01 in ROB complete.
or this
drop view rob.abl01
Drop of ABL01 in ROB complete.

even though it doesn't appear in either sysindexes or sysviews.

If I do this:
create index rob.abl01
on rob.ab (mydatE)
where mydatA = 'X'
rcdfmt abr add all columns
unit any
Index ABL01 created in ROB on table AB in ROB.

I will find that not in sysviews, but in sysindexes.

This now fails:
drop view rob.abl01
ABL01 in ROB not correct type.


Rob Berendt

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.