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     [SOLVED] XFocus Question

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] XFocus Question
 Login/Join
 
Member
posted
Hi.

I just converted a Focus file to an XFocus. format.

This file contained several cross-reference files which are in Focus format which I did not convert. All seems to be working fine.

I read in help the following:

"JOIN commands among suffix FOC and suffix XFOCUS data sources are supported. Master File cross-references are supported to other suffix XFOCUS data sources only."

Not exactly sure what the second part is. Can someone explain. And the big question is: am I going to have problems with XFocus file and Focus cross-reference file. Should I convert the crosss-reference file to XFocus also?

This message has been edited. Last edited by: <Kathryn Henning>,
 
Posts: 27 | Registered: April 18, 2008Report This Post
Virtuoso
posted Hide Post
My hunch is, any join structure that you need to construct can be build as a Business View (referencing one-segment synonyms each covering a single FOCUS or XFOCUS file). -- I would expect that internally a request against such a BV will be handled as if the structure were coded with JOIN.
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Member
posted Hide Post
I just ran the Focus file with XFocus cross-reference files and it worked fine also.

Can someone please explain what is nment by:

"Master File cross-references are supported to other suffix XFOCUS data sources only"

Does it mean That Xfocus cross-references work with XFcous files only? I just proved it wrong. Very confusing.
 
Posts: 27 | Registered: April 18, 2008Report This Post
Virtuoso
posted Hide Post
Unsupported really means that under some circumstances this is going to fail.

Within the master file declaration there are 2 types of joins, static and dynamic.

The static join, using segtype of KU and KM, requires a REBUILD to be changed. This is because the structure holds the link information to the cross-referenced file in the parent segment of the host file; these are equivalent to the parent-child pointers within a multi-segment single FOCUS/XFOCUS data structure. This is accomplished on the first use and used thereafter for faster cross-referenced data retrieval.

The dynamic join, using segtype of DKU and DKM, can be altered at any time and does not hold link information, but this is retrieved for each record in every report request.

So why would this be unsupported for joins between FOCUS and XFOCUS? Well the pointer(link) space for FOCUS data files and for XFOCUS is different as the XFOCUS has to allow for a larger number of data instances, which is why XFOCUS can support larger data volumes.

So the question is, why would you want to do something that has been documented as unsupported? If you have space issues within the FOCUS data file there are other options available other than XFOCUS (which requires a licence). If you have a licence then you can REBUILD all sources to XFOCUS and live in peace, if there are no space issues, stick with FOCUS.


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Silver Member
posted Hide Post
dz: Master File cross-references are coded in the Master, making the JOIN command unnecessary. I suspect that you did not understand that there were two different ways to implement. If you intend to connect the two types of files via JOIN, it appears that this method is supported. Does this address your concerns about what is and is not supported?


8009
Windows, HTML, AHTML, Excel
In FOCUS since 1983
 
Posts: 41 | Location: Charlotte, NC | Registered: January 06, 2012Report This Post
Member
posted Hide Post
Here is my situation,

I have a very large master file that I converted to XFOCUS.

This master comtain 12 statically joined cross reference files (SEGNAME=SEGNAME1,SEGTYPE=KU,PARENT=PARENT1,CRFILE=FILE1,CRKEY=CRKEY1)

Without converting the cross-reference files to XFOCUS, I'm was able to access all the data from the master and cross-reference correctly.

Now, since I have many master files master files I have to convert dozens if cross reference files, which I'm trying to avoid.

I'm trying to undertsnd why do I need to convert when everything is working fine. Please help.
 
Posts: 27 | Registered: April 18, 2008Report This Post
Virtuoso
posted Hide Post
dz,
If everything is working, leave it as it is.
However, if you have to convert all your file from FOCUS to XFOCUS, you surely can write a procedure that does it for you, using SYSCOLUM.
Good luck!


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 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     [SOLVED] XFocus Question

Copyright © 1996-2020 Information Builders