|
On 1/29/2019 8:47 AM, Joe Pluta wrote:
Here's another wrinkle, Mark, that's very similar. I run into this all the time. The basic design pattern is this: I am checking a record for some condition. If the condition is met, great. If not, then I have to check a different file. Very similar to yours. I'd like to see something like this:
CHAIN (X:Y:Z) ORDERLINE;
SELECT;
WHEN OL_QTYREM = 0;
STATUS = '90';
WHEN OL_LINETYPE = 'C';
STATUS = '80'';
// It didn't match either condition, so now I have to check the header
NOSELECT;
CHAIN (X:Y) ORDERHEADER;
WHEN OH_DIVISION = 'USA';
STATUS = '60';
OTHER;
STATUS = '40';
ENDSL;
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.