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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.
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, 2007
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.
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, 2004
-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.
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, 2006
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, 2005