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



Jim,

If you are doing "A left outer join B", make sure you are NOT referencing any columns from B in your where clause (unless you are specifically testing for IS NULL). I often prefer to place any B field contraints into my ON() clause instead of the WHERE clause....

Eric DeLong

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of
franz400@xxxxxxxxxxxx
Sent: Wednesday, May 28, 2008 9:53 AM
To: midrange-l@xxxxxxxxxxxx
Subject: strsql not showing all records


Have a join of a large tran file with a master file, joined by a session nbr.
Many tran records with a single master record.
Depending upon where I position the file (Where ..) I don't see all the records.
If I remove the 'and ccsess.ssccan='AV' I see them (many with 'AV').
But with that "and" selection the file stops showing trans after 2 days ago.
If I change the starting session# in the where clause I can see more recent records.
btw-there is non-displayable data in the file (this is comm session detail) in one field that is not part of the where clause, and
the msg on the screen says there is some non-displayed.
No err in joblog. V5R4 and sf99504 DB2 Group 14.
SELECT CCSESS.SSCCST, CCSESS.SSCCXE,CCSESD.SDCCSS, CCSESS.SSCYMD,
CCSESD.SDCCMJ, CCSESD.SDCCMI, CCSESD.SDCCPS, CCSESS.SSCCAS as AS,
CCSESS.SSCONO, CCSESS.SSDIV,CCSESS.SSLC, CCSESS.SSCLIN,
CCSESD.SDCCSR as SR, CCSESD.SDCCSQ, CCSESD.SDHMS, CCSESS.SSCCAN,
CCSESD.SDCCPK FROM ccsesd join ccsess on sdccss=ssccss WHERE SsCCSS
1119978 and CCSESS.SSCCAN ='AV'
It's my 'guess' the strsql screen affected by the non-displayable data, no error, but also not showing all records.
Any ideas?
Jim Franz

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.