As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at firstname.lastname@example.org and provide your corporate email address, company, and name.
the problem is one of the contidions I am filtering on is where total cnt.trxamount is greater than one. The other is where total cnt.payeename is eq to 1. How do I do both without losing the detail of the trxamounts for each payee.
I have been able to make seperate file by summing on the user field and also in the second file just counting the trxamouont. Is there a way to do it in a single pass without having to match or try to join the files back up?
Thanks DanThis message has been edited. Last edited by: moyer1dl,
A multi-verb request might also work - something like this:
TABLE FILE <filename>
SUM COMPUTE CNT_TRXAMOUNT/I9C = CNT.TRXAMOUNT ;
COMPUTE CNT_PAYEENAME/I9C = CNT.PAYEENAME ;
BY USER (?)
WHERE TOTAL CNT_TRXAMOUNT GT 1 ;
WHERE TOTAL CNT_PAYEENAME EQ 1 ;
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007