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     Using "SET ALL=OFF|ON|PASS" with Cluster Join'd MFD?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Using "SET ALL=OFF|ON|PASS" with Cluster Join'd MFD?
 Login/Join
 
Platinum Member
posted
Does anyone have experience in using "SET ALL=" with multiple (cluster) joins?

I have a MFD composed of a 'narrow' table with 41 columns of application data and 24 columns of binary values used as 'foreign keys' to join this 'parent' record to each of 24 'child'/'look-up' tables (XRef tables in FOCUS lingo).

I expect to use "SET ALL=..." to control the acceptance of each 'parent' row when a joined 'child' row is present or missing, but I wonder if I may need to (or am able to) express a different ALL= value for each of the 24 'children'. Of course, in my case, all 24 joins are not likely to be in use at the same time because FOCUS optimizes away a join when a column in the 'child' table is not mentioned in a DEFINE, PRINT/SUM, WHERE, IF, or BY context. If no child column is required for the report, then the child table is not part of the SQL query.

At this time my question is ... How is the SET ALL= control implemented when there are joins to multiple tables?
Is the match/nomatch outcome of each join combined with all the other match/nomatch outcomes by "AND"ing them together or by "OR"ing them together to arrive at a final include/exclude decision?
If I have several joins active and some of them have matches while others do not, how will the final output differ for each of the three possible settings of ALL=?

My envoronment is v7.1 querying a MS/SQL relational database.


WIN/2K running WF 7.6.4
Development via DevStudio 7.6.4, MRE, TextEditor.
Data is Oracle, MS-SQL.
 
Posts: 154 | Location: NY | Registered: October 27, 2005Report This Post
Guru
posted Hide Post
You don't want to set ALL=ON with multiple joins if your tables are relational - you want to explicitly set your inner and outer joins. Otherwise they will all be outer joins which is very inefficient.
You may not get any different results (IF your tables are in a relational database) for ALL=ON vs ALL=PASS.


(Prod: WebFOCUS 7.7.03: Win 2008 & AIX hub/Servlet Mode; sub: AS/400 JDE; mostly Self Serve; DBs: Oracle, JDE, SQLServer; various output formats)
 
Posts: 391 | Location: California | Registered: April 14, 2003Report This Post
Master
posted Hide Post
Use either ALL=PASS or ALL=ON since this equivalent for RDBMS but both are sometime useless if you test on the joined TO structure or you may have to prepend a WHERE TOKEYFIELD EQ MISSING OR test-condition.

Heres how to put left outers in your clusters

SEGNAME=&SEGNAME, SEGTYPE=U, PARENT=&PARENT, CRJOINTYPE=LEFT_OUTER,

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



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
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Using "SET ALL=OFF|ON|PASS" with Cluster Join'd MFD?

Copyright © 1996-2020 Information Builders