If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Pervasive.SQL > BUTIL -CREATE failing

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-05-05, 12:21
acudlip acudlip is offline
Registered User
 
Join Date: Jul 2002
Posts: 7
BUTIL -CREATE failing

Hi

I'm trying to reload a table with data from a recover. I run:

BUTIL -RECOVER to unload the data

then

BUTIL -CREATE to recreate the table, but this step fails. There is nothing in my command prompt window to indicate what the problem may be, but the table still contains the same data. Any suggestions how I might go about investigating?

Thanks in advance

Andy
Reply With Quote
  #2 (permalink)  
Old 12-05-05, 13:21
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
What's the exact error that's reported? ALso, what's your BUTIL -CREATE command look like?
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
Reply With Quote
  #3 (permalink)  
Old 12-06-05, 05:50
acudlip acudlip is offline
Registered User
 
Join Date: Jul 2002
Posts: 7
Hi

There is no error reported. All that I get is:
Btrieve Maintenance Utility 8.60.192.030
Copyright (C) Pervasive Software Inc. 2004
All Rights Reserved.
and nothing more.

My command line is:

BUTIL -CREATE P:\Itron\Mvrs70\System\CYCLES.VRS P:\Itron\Mvrs70\System\CYCLES.DSC >> P:\Itron\Mvrs70\Work\BCYC2.LOG

The DSC file exists.

Andy

P.S I am a Pervasive newbie
Reply With Quote
  #4 (permalink)  
Old 12-06-05, 07:56
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
What's in the file "P:\Itron\Mvrs70\Work\BCYC2.LOG"?
WHat happens if you issue the command like:
BUTIL -CREATE P:\Itron\Mvrs70\System\CYCLES.VRS P:\Itron\Mvrs70\System\CYCLES.DSC
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
Reply With Quote
  #5 (permalink)  
Old 12-06-05, 08:18
acudlip acudlip is offline
Registered User
 
Join Date: Jul 2002
Posts: 7
Hi

P:\Itron\Mvrs70\Work\BCYC2.LOG contains


Btrieve Maintenance Utility 8.60.192.030
Copyright (C) Pervasive Software Inc. 2004
All Rights Reserved.


Btrieve Maintenance Utility 8.60.192.030
Copyright (C) Pervasive Software Inc. 2004
All Rights Reserved.


Btrieve Maintenance Utility 8.60.192.030
Copyright (C) Pervasive Software Inc. 2004
All Rights Reserved.


Btrieve Maintenance Utility 8.60.192.030
Copyright (C) Pervasive Software Inc. 2004
All Rights Reserved.

i.e. an entry for each time a ran it. If I run without the log file, I just get the same echoed to the command window.

Thanks

Andy
Reply With Quote
  #6 (permalink)  
Old 12-06-05, 09:40
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
Does the file "P:\Itron\Mvrs70\System\CYCLES.VRS" exist? If so, rename it and rerun the BUTIL command.
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
Reply With Quote
  #7 (permalink)  
Old 12-06-05, 11:13
acudlip acudlip is offline
Registered User
 
Join Date: Jul 2002
Posts: 7
Hi

It does exist. The strange thing is that I was doing this on several database files and it only failed on this one. I followed the same procedure for each i.e.:

recover
create
load

As soon as I get a chance, I will try to delete the VRS file and try again. I'm wondering if there is some locking going on? How could I confirm this?

Thanks again

Andy
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On