Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     another question on the records that are not included from the JOIN
Go
New
Search
Notify
Tools
Reply
  
another question on the records that are not included from the JOIN
 Login/Join
 
Gold member
posted
I have 2 tables. 1sthold is the hold file of the first and 2ndhold is the second hold file of the second table. 1sthold resulted, say,1400 s.s# numbers and 2ndhold has 700 s.s#. I join from 1sthold to 2ndhold by ss# to get all the other fields, but not all the 700 ss# are included in the result. how do I get them all those 700 added in the join?
 
Posts: 71 | Registered: May 23, 2004Reply With QuoteReport This Post
Platinum Member
posted Hide Post
The MATCH command is designed to provide the various types of file 'matches'. For example..
MATCH FILE ONE
SUM A AND B BY SSN
WHERE SOMETHING ;
RUN
FILE TWO
SUM D AND E BY SSN
WHERE SOMETHING ;
ON MATCH HOLD OLD-NOT-NEW
END
-* OTHER CHOICES ARE OLD-AND-NEW, OLD-NOR-NEW
-* OLD-OR-NEW, ETC...
TABLE FILE HOLD
get the desired report..
end
 
Posts: 226 | Registered: June 08, 2003Reply With QuoteReport This Post
Master
posted Hide Post
the setting ALL (SET ALL=ON) would make sure the left-hand rows would be included regardless of if they had matches... you don't need to use the complex MATCH command if this is all you want.
 
Posts: 919 | Registered: March 26, 2003Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     another question on the records that are not included from the JOIN

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.