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] creating index on hold file for multiple column/Indexing multiple column

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] creating index on hold file for multiple column/Indexing multiple column
 Login/Join
 
Gold member
posted
Hi,

can we index multiple column with below index on a hold file

ON TABLE HOLD AS HOLDFILE_123 FORMAT FOCUS INDEX COLUMN_1 COLUMN_2 COLUMN_3 COLUMN_4

I am not able to find it in documentation which I have.

Thank You
Sakeesh

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


WebFocus 5.2.5
HP-UX(UNIX)
EXCEL, HTML, PDF and OLAP
 
Posts: 50 | Registered: August 04, 2009Report This Post
Virtuoso
posted Hide Post
Yes, multiple fields/columns can be indexed when holding output as a FOCUS file. I believe the limit is four index fields. There may also be a name length limit of 12 characters for indexed field names. The syntax of your sample statement is correct.


WebFOCUS 7.7.05
 
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007Report This Post
Virtuoso
posted Hide Post
MKS, I don't know what the purpose of those indices is but just in case you are doing it so you can later JOIN to that FOCUS file, you can only do so using *one* field.



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Report This Post
Virtuoso
posted Hide Post
Multiple index fields is news to me. If you need multiple index fields your best options are:

1. Create the table in a format other than FOCUS (write to an SQL*Server table, DB2, etc.)

2. Concatenate your several fields into a single text field via a DEFINE, and then index on that combined field. Field name 12 characters or less.

J.



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report 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] creating index on hold file for multiple column/Indexing multiple column

Copyright © 1996-2020 Information Builders