Sort of a hybrid situation. If they are all single valued, then it should be straight forward. Your example may not be exposing the nuances that are causing your problems.
If it is all single valued, then I would try in <8> A;IF 9 = “3” THEN 4 ELSE “0”
The rest of it is in the sort list sentence to break-on 5 with a det-supp.
i.e. sort file by 1 by 5 break-on 1 break-on 5 total <new dict item> id-supp det-supp
--
--
IMPORTANT: T24/Globus posts are no longer accepted on this forum.
To post, send email to jB...@googlegroups.com
To unsubscribe, send email to jBASE-un...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
---
You received this message because you are subscribed to the Google Groups "jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbase+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4335 / Virus Database: 3722/7169 - Release Date: 03/08/14
I get it.
I assume that you have no control over the structure of these records. The structure is not built to lend itself to dictionary listing for the discreet output that you want.
You could experiment using BY-EXP in your sort-select statement to explode the multi values and then list with the filter.
i.e. SSELECT ACCOUNT BY-EXP 9 then LIST WITH TRNDATE = “MM/DD/YY” AND WITH 9 = “3’ . I haven’t used it on jBase but it could be worth a try.
If the situation were mine without the mv skills to program it but I know how to export it, then I would use simple attribute dictionaries and export the full list and use the power of Excel or an Access database to do the filtering for you. Build macros for one click formatting and filtering.
--
--
IMPORTANT: T24/Globus posts are no longer accepted on this forum.
To post, send email to jB...@googlegroups.com
To unsubscribe, send email to jBASE-un...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
---
You received this message because you are subscribed to the Google Groups "jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbase+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4336 / Virus Database: 3722/7187 - Release Date: 03/12/14
Thank you for your response. We are electronically pushed information on collection accounts from our client - such as the name of the debtor, address, etc. in a file called ACCOUNT. ACCOUNT does not contain a history of payments, which is very important to us. We are also pushed transaction information in a separate file called TRANS, described above. TRANS contains payment information (along with a lot of irrelevant noise such as account adjustments and incremental interest), but those payments are split to different "buckets" across accounts. For example, a $100 payment may be split $50 to principal, $25 to interest and $25 to collection costs. I am trying to reassemble these split transactions to identify the $100 payment using a dictionary item, by taking each account number and adding the actual payments (marked by a "3" in attribute 9) for each date together in a sum.
If you just want the totals without the detail, add the clause ID-SUPP to the end of the above query statement