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] Using an Uploaded Data File in a Join

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Using an Uploaded Data File in a Join
 Login/Join
 
Member
posted
In WebFOCUS, I used the Upload Data File option to bring in an Excel file that has 3 columns. Every row in the first column is unique and is equal to a value in an existing data file. The second column has the same value on each row, and the third column contains various amounts. When I tried to select the uploaded file for a JOIN to an existing data file, I received the following error: "Selected FOCUS master file does not have indexed fields. Please select another master file." Does anyone know of a way to assign an index to an uploaded file, or to otherwise correct this error?

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


7.6.4
Red Hat Enterprise Linux
Excel, CSV, HTML, PDF, perhaps others also
 
Posts: 2 | Registered: November 05, 2009Report This Post
Virtuoso
posted Hide Post
If you use this uploaded file as the from file, then it does not need indexes.
Only the join-to file needs indexes, if it is a focus file.
From your description the join-to is not the uploaded one but an existing data file. That's the one that needs indexes.
You can do this in a number of ways:
- use the rebuild utility
- use the method of table, recreate the file with indexes in the master, and modify to load it again
- maybe convert it to sql - then you do not need indexes anymore
- table file, hold format focus with indexes, rename.

Hope this helps ...


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Expert
posted Hide Post
If neither file is a FOCUS file, then they must be sorted in the same order by the same BY fields. If you TABLE and HOLD them first to sort, then you should be able to do the join.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Expert
posted Hide Post
If you TABLE , HOLD, then you might as well HOLD FORMAT FOCUS INDEX column.



If only IB had put in all the functionality of my xlreader process into the Upload Data File option, you could have created a FOCUS file. Cool


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Member
posted Hide Post
Thanks all, for your replies. These solutions sound straight-forward. It may take more than a couple of days before I can try them out.

The existing table is my "join from", as it contains all key records, and the uploaded tables only contain subsets of the key records.


7.6.4
Red Hat Enterprise Linux
Excel, CSV, HTML, PDF, perhaps others also
 
Posts: 2 | Registered: November 05, 2009Report 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] Using an Uploaded Data File in a Join

Copyright © 1996-2020 Information Builders