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



rob@xxxxxxxxx wrote:
I know that, with DDS, you always make the record format name different than the file name.
I know that, with SQL, it defaults to making the record format name the same as the file name. I further know there are tricks to renaming the record format name. (These often involve naming the file what you want the record format name to be and then renaming the file after the fact.)
I know that you can use a file level keyword to rename the record format name.
However, why should we have to go through these tricks and shouldn't the compiler just be modified to get over it?


Rob Berendt

If you code:


READ SOMENAME;

are you doing a read by file name or a read by record name?

Hmmm, I suppose if there's only one record format in the file anyways, then that shouldn't make much of a difference. The compiler would need some serious convincing, but it should be possible to make this work. The main implementation hurdle in the compiler is that file names and record names occupy the same name space in the symbol table. And when you refer to SOMENAME in the code, in some places it should refer to the file name and in others to the record name.

I'll add this to our list of proposed future enhancements. No promises, though.

Cheers! Hans



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.