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



>Having _not_ thought this through, could you use a "common" 
>header data structure with several based() structures for 
>the differing parts? Roughly speaking:
>
>     d strucHeader   ds                  
>     d  sensType                      3p 0
>     d  sensID                        7p 0
>     d  roType                        3p 0
>     d  roID                          7p 0
>     d  DATA                       5000
>
>     d pDATA      S                    INZ(%addr(DATA))
>
>     d struc500   ds                  based(pDATA)
>     d  500Field1                      3p 0
>     d  500Field2                      7p 0
>     d  500Field3                                 3p 0
>
>     d struc360   ds                  based(pDATA)
>     d  360Field1                      3A 
>     d  360Field2                      9p 0
>     d  360Field3                                 1p 0

Good idea but it doesn't help for a couple of reasons:
1) the "common" bits are interspersed throughout each record type
2) I still need the large SELECT structure to shuffle the individual 
   names to a single set of universal names.
Thanks, Walden!
  --buck

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.