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



Hi Caura,

Here's an example of something you can do in a view that you cannot do in a logical file, at least as far as I know:

create view ARLIB/MSCMV100 as select cm.CUSNO, --CustomerNumber cm.CCUS#, --CorpCustomerNumber coalesce(cc.CCNAM,' ') CORPNAME, --Corporate name case when coalesce(c2b.CUSCTT,c2m.CUSCTT,c2s.CUSCTT,'x') = 'x' then '0' else '1' end as HasSplit, --CustomerSplitAccountFlag from MSCMP100 cm left join MSCMP200 c2b on cm.CUSNO = c2b.CUSNOT and c2b.CUSCTT = 'B' left join MSCMP200 c2m on cm.CUSNO = c2m.CUSNOT and c2m.CUSCTT = 'M' left join MSCMP200 c2s on cm.CUSNO = c2s.CUSNOT and c2s.CUSCTT = 'S' left join ARCCP100 cc on cm.CCUS# = cc.CCUS#
*Peter Dow* /
Dow Software Services, Inc.
909 793-9050
pdow@xxxxxxxxxxxxxxx <mailto:pdow@xxxxxxxxxxxxxxx> /


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.