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.
I have used the LEFT_OUTER before, but the issue here is that I am trying to rewrite a complicated report written in FOCUS so that it can be used locally in webFOCUS. This report uses tons of complex joining, I had assumed joining worked a certain way, but cannot seem to replicate the results expected for the report - so needed some clarification on where my logic is faling on how the standard join syntax works.
I didn't know one could specify 'INNER' in the join so did learn something. ;-)
Thanks anyway.
Jinx.
7.6.11 Windows HTML, PDF, Excel etc DevStudio/Webfocus/Focus IBM SQL Server 2000 / 2008 DB2
Posts: 78 | Location: UK | Registered: February 07, 2008
Hello Jinx, i am assuming that u r working with focus files. in wf Left outer, Inner or other joins doesnt exist. these type of joins exists in RDBMS systems like oracle etc.... when you are trying to create an inner join give all option e.g. join abc in xyz to all abc in def as jo1 end else you can write the same thing what you have give as eg and put a where condition where the fields of cross reference table is not blank. if you are creating a unique join then it will act as left outer even if you set all parameter = off. sometimes this problem occurs if you are trying to join any RDBMS table to a focus table(.foc). when i have to create a left outer i use SET ALL=PASS and that works for me. hope this helps.
We should assume you're working with SQL Server 2000 or 2008 tables.
Did you turn SQL tracing on to see the SQL generated by WebFOCUS? If you turn SQL tracing on, you will get some very informational messages about the JOINs...
I have the SQL trace commands in a fex that I include an ALL my programs. As well, when I start writing a new report, I always SET XRETRIEVAL=OFF so no data is retrieved and the trace is immediately displayed. This makes development a lot more efficient and no amount of pointing-and-clicking in a GUI will replace these two basic ideas.
Cheers,
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server