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.
Part 1: The File Name (Master File) Part 2: The Segment Name (Check out the Master File), FOCUS supports files with structures. Part 3: The Field Name.
Well, it depends on whether the masterfiles you are using are defined on a DBMS-based table, FOCUS databases (which may have segments), etc.
In general, one can reference a field using the convention:
Masterfile.Segment.Field
In most cases Masterfile has the same name as the Table it uses but it all depends on your environment.
I use WebFOCUS against Oracle tables and by default both the masterfile name and the segment use the same name as that of the table they are mapping, so ...
JOIN MYTABLE.MYTABLE.MYFIELD IN MYTABLE ...
Would have the same effect in my environment as:
JOIN MYFIELD IN MYTABLE
However, other data sources (VSAM, FOCUS Hold files, XFOCUS) introduce the concept of Segments and in that case it might be necessary to use the "long" notation in order to reach the field you need.
As with any new tool or technology it is more than recommended to get oneself acquainted with its foundations to better understand how to interact with it. I think some reading would be in place for you to better understand the concepts of WebFOCUS and something I would suggest would be:
1. Describing Data With WebFOCUS Language 7.6(DN: 4500806.0509) 2. Creating Reports With WebFOCUS Language 7.6, Page 15 (Joining Data Sources) (DN: 4500804.0909)
You can find those documents in the Technical Documentation section at Information Builders website.This message has been edited. Last edited by: njsden,
In practice there is no difference between the two statements. In some cases, the fully qualified names (table.segment.column) may be necessary to avoid any ambiguity when two joined tables contain identically-named column names. The GUI tools usualy write fully qualified names, while developers who do their own coding tend to use the syntax requiring the fewest number of keystrokes.
WebFOCUS 7.7.05
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007
while developers who do their own coding tend to use the syntax requiring the fewest number of keystrokes
You're absolutely right. I addition, going over such a verbose code as the one generated by the GUI is rather annoying and a bit harder to understand (at least for me anyway).