I need do a full outer join on 2 sets of data that do not contain any common columns. Does anyone know how to do this?
Here is some more information:
I have a hold file that contains year and month going back 2 years. I have a hold file that contains complaint descriptions. I need to end up with a file that contains a complaint description for each month and year record. (the equivalent of doing a full out join in SQL)
I see in other focal point threads that I can do a match to achieve a full outer join, but that only appears to work if I actually have at least one common column between the 2 hold files. I'd like to know if it is possible to join 2 sets of data in this way. Thanks.This message has been edited. Last edited by: Scott Matson,
WebFOCUS 8007
December 07, 2015, 04:45 PM
Dan Satchell
Try this: Use DEFINE to add a one-character blank column to each dataset. Then Join on the two blank columns as a one-to-many relationship. It's easiest if the blank columns are already part of your hold files. Otherwise you will need to use a DEFINE-based join.
WebFOCUS 7.7.05
December 08, 2015, 06:53 AM
Danny-SRL
Scott,
Do you mean that you want to join ALL the complaints to each month-year? If so, make the smallest HOLD a FORMAT FOCUS with a blank field as an INDEX, then JOIN a blank field in the other to the focus file.
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
December 08, 2015, 07:34 AM
Mike in DeLand
How about MATCH FILE?
Webfocus 8 Windows, Linux
December 08, 2015, 09:30 AM
Scott Matson
Bingo! I created a blank field for each hold file I was trying to join together and then joined on that field. Now I have a complaint description for each month-year. Thanks!