[CLOSED] creating index on hold file for multiple column/Indexing multiple column
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 SakeeshThis message has been edited. Last edited by: Kerry,
WebFocus 5.2.5 HP-UX(UNIX) EXCEL, HTML, PDF and OLAP
December 23, 2011, 02:08 AM
Dan Satchell
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
December 23, 2011, 10:46 AM
njsden
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.