× 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.



"

But that's an important distinction. If you create a DDS LF and name the
fields those are the only fields in the lf, even if you add more to the
table. However, the LF created from an index will change automatically
to have any new fields in it. So if you're using that LF in a 3GL you
need to be worried about level checks.

One of the great things about SQL is the ability to add columns w/out
regard to level checks. Don't break that by using indexes in 3GL
programs for RLA.

"



But so will a regular logical file.



If I create a logical file over a physical file and just use the record
name equal to the record name of the physical file (which 99% of the
people do) and I add a field to the physical file using CHGPF , the
logical file will get the new field.



If I create the logical with record name different from the physical
record name and list the fields I want to include in the logical, and I
add a field to the physical using CHGPF, the new field will not show up.




So the behavior is no different if you go into operations navigator and
add a new field to a table. It will appear on the logical associated
with the index.



Of course, it makes no sense to me know days to use a logical or
physical record I/O unless I have to. I think this got started because
the person had a case tool that won't use SQL statements and has to have
a physical or logical file. Yuck!!



Probably 99% of my coding today is done using SQL.






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.