RE: [U2] [ud] Create Index Error

2007-08-20 Thread BNeylon
How many times have I heard that?  It let me do it.  On the one hand, I 
want to say You know better, on the other, I ALWAYS fix the program so 
it can't happen again.
I vote submit.

Bruce M Neylon
Health Care Management Group 




David Wolverton [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
08/17/2007 06:19 PM
Please respond to
u2-users@listserver.u2ug.org


To
u2-users@listserver.u2ug.org
cc

Subject
RE: [U2] [ud] Create Index Error






Would I be just 'out there' in turning this in to IBM as a 'bug' -- I 
mean,
what I did should really not have left things in such a state -- while
sitting at an 'input' prompt, I would not have thought I'd be one foot in 
-
one foot out.  Or is that just irrational thinking on my part?



u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [ud] Create Index Error

2007-08-17 Thread David A. Green
David,

Sounds like the Header record has been updated with the Index Counter but
the X_Filename was never created.

Quick and easy way is to copy an existing X_Otherfile to X_Filename then use
DELETE.INDEX.

When I first started working at UniData I created a utility to zero out the
Index Counter out of the Header record by simply writing a CHAR(0) to the
correct byte offset.

Thanks,
David A. Green
DAG Consulting
480-813-1725

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Wolverton
Sent: Friday, August 17, 2007 2:21 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] [ud] Create Index Error

Self induced problem -- I broke out of the 'create.index' while at the
'Alternate Key Length' field.

(I wanted to do a quick test of 'before' the index timing... Fatal error.)

Now, I get this on 'create.index':

Index: read master head error(0).
Can not open index file

Delete.index and list.index both say there is no index created.

How do I undo my self-inflicted harm?
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [ud] Create Index Error

2007-08-17 Thread Dave Davis
Create a new file.
Select and copy from old file.
Delete old data file.
Recreate data file.
Select and copy back in.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Wolverton
Sent: Friday, August 17, 2007 5:21 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] [ud] Create Index Error

Self induced problem -- I broke out of the 'create.index' while at the
'Alternate Key Length' field.

(I wanted to do a quick test of 'before' the index timing... Fatal
error.)

Now, I get this on 'create.index':

Index: read master head error(0).
Can not open index file

Delete.index and list.index both say there is no index created.

How do I undo my self-inflicted harm?
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [ud] Create Index Error

2007-08-17 Thread David Wolverton
Would I be just 'out there' in turning this in to IBM as a 'bug' -- I mean,
what I did should really not have left things in such a state -- while
sitting at an 'input' prompt, I would not have thought I'd be one foot in -
one foot out.  Or is that just irrational thinking on my part?


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Dave Davis
 Sent: Friday, August 17, 2007 4:43 PM
 To: u2-users@listserver.u2ug.org
 Subject: RE: [U2] [ud] Create Index Error
 
 Create a new file.
 Select and copy from old file.
 Delete old data file.
 Recreate data file.
 Select and copy back in.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [ud] Create Index Error

2007-08-17 Thread David Wolverton
Actually - it turned out the issue was that the X_filename **existed** at
zero bytes!

We did the fileviw -p1 filename per Susan's note, and found the index said
0 -- but since the X_filename existed...

THAT was where the error was!!

We deleted the X_filename and all was well...

Thanks!! Had you not mentioned moving ANOTHER X_filename in, I would not
have noticed the current one at 0 bytes. And 'fileview' was a GREAT
call...

(But I'll probably still log it at IBM as an 'isn't it odd that...' G) 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/