Problem with creating index on hash file
Moderators: chulett, rschirm, roy
Problem with creating index on hash file
Hi
Recently we have migrated to 8.5 version and I am trying to create indexes on the hash file . I was able to create VOC entry successfully after that with the syntax :
>CREATE.INDEX ProcKeyLookup PROC_CODE
Unable to open "DICT ProcKeyLookup".
>BUILD.INDEX ProcKeyLookup PROC_CODE
Unable to open "DICT ProcKeyLookup".
Can somebody help me to resolve this issue .
Thanks in advance.
Recently we have migrated to 8.5 version and I am trying to create indexes on the hash file . I was able to create VOC entry successfully after that with the syntax :
>CREATE.INDEX ProcKeyLookup PROC_CODE
Unable to open "DICT ProcKeyLookup".
>BUILD.INDEX ProcKeyLookup PROC_CODE
Unable to open "DICT ProcKeyLookup".
Can somebody help me to resolve this issue .
Thanks in advance.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
How was the hashed file created?
What does its VOC entry look like? To find out:
What does its VOC entry look like? To find out:
Code: Select all
LIST.ITEM VOC 'hashedfilename'
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
It should look like this:
ProcKeyLookup
001 F
002 ProcKeyLookup
003 D_ProcKeyLookup
How was the hashed file created? It seems to me that the VOC entry is corrupted and, if field 3 is correct, so too is the hashed file itself - ProcKeyLookup directory should contain only DATA.30, OVER.30 and .Type30 files.
You'll need to resolve that before you will be able to create any index.
ProcKeyLookup
001 F
002 ProcKeyLookup
003 D_ProcKeyLookup
How was the hashed file created? It seems to me that the VOC entry is corrupted and, if field 3 is correct, so too is the hashed file itself - ProcKeyLookup directory should contain only DATA.30, OVER.30 and .Type30 files.
You'll need to resolve that before you will be able to create any index.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Suddenly you're using ED ?
The correct syntax to edit the ProcKeyLookup entry in VOC would beNo OVERWRITING (that's for COPY), no trailing semi-colon (ED is not SQL).
But what are you trying to accomplish?
How about you answer all my questions first, before getting dangerous using an editor you appear to know little about?
The correct syntax to edit the ProcKeyLookup entry in VOC would be
Code: Select all
ED VOC ProcKeyLookup
But what are you trying to accomplish?
How about you answer all my questions first, before getting dangerous using an editor you appear to know little about?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: