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



Any number of ways to effect that, but not very directly with the DDS compiler itself. I had actually seen something similar which was implemented with a separate data dictionary from which the DDS was generated; I do not recall the software. The simplest means to use the DDS compiler to assist might be to use the GENLVL(0) to generate the expanded listing [as an effective precompiler source output] to avoid actually creating the database *FILE object, then using that expanded listing output for target of update requests [e.g. using the SQL UPDATE using REPLACE() scalar] to generate a modified DDS from which to effect the actual\intended CRTPF [or CRTLF] result.

Regards, Chuck

On 27 Jun 2012 11:39, Stone, Joel wrote:
Is it possible to define a field by referencing another field, but
changing the prefix of the COLHDG, TEXT, and ALIAS?

newfield R REFFLD(oldfield)
* replacing 'xxxxx' with 'A1234-' in each of the below:
COLHDG('xxxxx' 'COMMODITY DESC')
TEXT('xxxxx COMMODITY DESC')
ALIAS(xxxxx_COMMODITY_DESC)

This sure would be useful for us.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.