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



I couldn’t wait
I made a couple of minutes
THAT was what I needed
Thanks Vernon

Alan Shore
E-mail : ASHORE@xxxxxxxx
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
‘If you're going through hell, keep going.’
Winston Churchill


-----Original Message-----
From: Alan Shore
Sent: Wednesday, August 12, 2020 10:19 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: [EXTERNAL] Re: Need to capture information when something is NOT there

Thanks for your response Vernon
Ive been trying to get this final piece of the logic, with no success, for almost a week now Your suggestion of where (fld1, fld2) not in (select fld1, fld2 from 6th file) maybe what I need

Once I get a couple of minutes (lol) I will play with this

Alan Shore
E-mail : ASHORE@xxxxxxxx
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
‘If you're going through hell, keep going.’
Winston Churchill

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of Vernon Hamberg
Sent: Wednesday, August 12, 2020 8:59 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: [EXTERNAL] Re: Need to capture information when something is NOT there

Hi Alan

If you add another EXCEPTION JOIN on those 2 columns, your list would be what you want - or you can do a NOT IN - where (fld1, fld2) not in (select fld1, fld2 from 6th file) - that's really the same as EXCEPTION JOIN, though.

Do you need that extra column? What would it contain? I'm guessing some constant label, such as "not in file 6" or 'X' - just add that as a constant to the "field" list.

So what am I missing?   :)

Vern

On 8/12/2020 7:19 AM, Alan Shore via MIDRANGE-L wrote:
Hi everyone
We are at V7r3
I hope that what I am about to ask, makes sense

I have an SQL query using 5 files with joins, exception joins etc,
that extracts a number of columns I would like to add another column,
that would use data from two of these columns and look in a sixth file
and let me know if there are NO records in that sixth file with those
2 values I cannot use any data from this sixth file as I am looking to
see if a "no record" condition exists

Anyone any ideas as to how to achieve this?

Alan Shore
E-mail : ASHORE@xxxxxxxx<mailto:ASHORE@xxxxxxxx>
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
'If you're going through hell, keep going.'
Winston Churchill


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.