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



I used to like to use pointers to simplify this following, but I now have mixed
feelings about getting too pointer-happy, they just seem too dangerous! See
Jon's code modified:

D SalesData DS
D CustNo
D Division
D**********QuarterData
D Q1
D Q2
D Q3
D Q4

D p_Q1 S * inz( %addr( Q1 ))

D SalesForQtr Based( p_Q1 )
D Like(Q1) Dim(4)

I wrote up this technique as well as the one you showed earlier back in Feb
of 2003 - the article was called "D-spec Discoveries" and you can find it
here:

http://www.eservercomputing.com/iseries/articles/index.asp?item=DIRECT&sid=10&id=553



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.