Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Join And Match

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Join And Match
 Login/Join
 
Gold member
posted
what is the difference between the Join and Match.

This message has been edited. Last edited by: Kerry,


7.1.1
Windows XP
HTML
 
Posts: 64 | Location: North Carolina | Registered: December 04, 2007Report This Post
Virtuoso
posted Hide Post
You can find out what differences there are by reading the manual and/or searching the forum first.
If you still have questions after having done this, then we'll be glad to try and help out.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Guru
posted Hide Post
Also, keep in mind, if you can get the JOIN to work, use it. MATCH is not as efficient but sometimes necessary.



WebFOCUS 7.6.6/TomCat/Win2k3
 
Posts: 428 | Location: Springfield, MA | Registered: May 07, 2003Report This Post
<Shyam L>
posted
Krish, you will get the syntax for both from Dev Studio help itself. You need not even go to manuals. Doing it practically will help you in understanding the difference a lot better.

And as Gamp mentioned if you still have specific questions there a lot of people to answer your queries here.
 
Report This Post
Virtuoso
posted Hide Post
Think of match as I have two files (or more) that I want to either merge together or do a screening to get say all in one file that are not in the other or all that that have a record in both files and so on. ( A and B, A or B, A not B, B not A, and so on.) Join of files require you have a key field to join on and for those records in the primary file the joined to file may or may not have a matching record.

All syntax I leave to you and the manuals and developer studio.

Have a great day.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Gold member
posted Hide Post
here is my code and column names.

-SET &PACK1 = 'Schema.package.SP1';
ENGINE SQLORA SET DEFAULT_CONNECTION DATASOURCE
ENGINE SQLORA
EX &PACK1 '*','2008','USD';
TABLE FILE SQLOUT
PRINT
A1
A2
A3
A4
ON TABLE HOLD AS HOLD1
END

-SET &PACK2='Schema.package.SP1';
ENGINE SQLORA SET DEFAULT_CONNECTION DATASOURCE
ENGINE SQLORA
EX &PACK2 '*','2008','USD';
TABLE FILE SQLOUT
PRINT
A1
A2
A3
A4
ON TABLE HOLD AS HOLD2
END

can u suggest me how to match all the column names. in one single hold file.


WebFOCUS 8.0.0.7 App Studio
 
Posts: 67 | Registered: September 26, 2008Report This Post
<JG>
posted
post deleted

This message has been edited. Last edited by: <JG>,
 
Report This Post
Master
posted Hide Post
quote:
Also, keep in mind, if you can get the JOIN to work, use it. MATCH is not as efficient but sometimes necessary.


Carol, join is more efficient with a few records (interactive process), but generally if you are processing whole files (in a batch process say) then MATCH will be more efficient.



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
 
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006Report This Post
Virtuoso
posted Hide Post
MATCH FILE HOLD1
WRITE CNT.A1 AS COUNT1
BY A1 BY A2 BY A3 BY A4
RUN
FILE HOLD2
WRITE CNT.A1 AS COUNT2
BY A1 BY A2 BY A3 BY A4
AFTER MATCH HOLD OLD-OR-NEW
END

That will provide one record per unique combination of fields A1 through A4, with a pair of counters to indicate the source.


- Jack Gross
WF through 8.1.05
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Join And Match

Copyright © 1996-2020 Information Builders