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     [Closed]JOIN on Cluster Master file.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Closed]JOIN on Cluster Master file.
 Login/Join
 
Platinum Member
posted
Join in SQL.

select 
A.StudentId
,B.StudentID
,B.StudentName 
from College A INNER JOIN Department B
ON A.StudentId = B.StudentId

I can display StudentId from both Tables.

I have a similar situation in Webfocus.
I have a cluster master file where SYN_A is joined with SYN_B on a column ACTIVITY_ID and a cluster master file is made out of these two.
I want most of the data from SYN_B.SO i have the code below.
  
TABLE FILE CLUSTERTABLE
BY CLUSTERTABLE.SYN_B.ACTIVITY_ID
BY CLUSTERTABLE.SYN_B.SALES
END


IF i USE
 BY CLUSTERTABLE.SYN_A.ACTIVITY_ID 

instead of
 BY CLUSTERTABLE.SYN_B.ACTIVITY_ID 

i get No Data error.
Why is that?Since JOIN is made on ACTIVITY_ID ,it is supposed to be the same values right?

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


WF8206,Windows 7,8,10
HTM,PDF,EXCEL
 
Posts: 229 | Location: MI | Registered: September 13, 2017Report This Post
Virtuoso
posted Hide Post
Turn on the SQL trace for your WebFOCUS report and see what SQL it's generating.

  
-SET &ECHO=ALL;
SET XRETRIEVAL=OFF
SET EMPTYREPORT=OFF

-*** Show SQL statements
SET TRACEON    = STMTRACE//CLIENT

-*** Show SQL generated statement trace
-*SET TRACEON = STMTRACE/1/CLIENT

-*** Show SQL generated sub-statement trace
SET TRACEON    = STMTRACE/2/CLIENT

-*** Disable the trace stamp (Date/Time etc)
SET TRACESTAMP = OFF

-*** Set trace line wrapping - # of characters
SET TRACEWRAP  = 132

-*** Activate SQL tracing
SET TRACEUSER  = ON


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Virtuoso
posted Hide Post
If you are not including any field from SYN_A the children (SYN_B) is not read (accessed) by the connector.

If you want to use field from the child (SYN_B), you must use at least one field from the parent (SYN_A).

Or since you
quote:

I want most of the data from SYN_B.


have SYN_B as the parent and SYN_A as the child


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Platinum Member
posted Hide Post
Thanks BabakNYC.
Figured out the issue from the SQL Trace.
When i created the cluster master file,i dragged and dropped the SYN_B to SYN_A in IWay DM,it created inner join on SIMILAR name fields.
In SQL trace it showed what all fields are being joined.So it created invalid joins on drag and drop.
I removed those invalid joins and now the report is working.

@MartinY..I am using SYN_B as parent now.Thanks


WF8206,Windows 7,8,10
HTM,PDF,EXCEL
 
Posts: 229 | Location: MI | Registered: September 13, 2017Report 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     [Closed]JOIN on Cluster Master file.

Copyright © 1996-2020 Information Builders