|
DBrnTotal DS DIM(999) QUALIFIED D BTAM59 LIKE(CMAM22) INZ(0) D BTAM01 LIKE(CMAM01) INZ(0) D BTAM02 LIKE(CMAM02) INZ(0) D BTAM03 LIKE(CMAM03) INZ(0) D BTAM04 LIKE(CMAM04) INZ(0) D BTAM05 LIKE(CMAM05) INZ(0) D BTAM06 LIKE(CMAM06) INZ(0) D BTAM07 LIKE(CMAM07) INZ(0) D BTAM08 LIKE(CMAM08) INZ(0) D BTAM09 LIKE(CMAM09) INZ(0) D BTAM10 LIKE(CMAM10) INZ(0)
... Many additions into the subfields as I accumulate totals
/FREE For Brn = 1 TO 999; If BrnTotal(Brn) <> *ZERO; // DO STUFF WITH SUBFIELDS; EndIf; EndFor; /END-FREE
... All 999 records show up.
Any suggestions other than
If BrnTotal(Brn).BTAM59 <> 0 OR BrnTotal(Brn).BTAM01 <> 0 OR ... etc
As an Amazon Associate we earn from qualifying purchases.
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.