Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2002
    Posts
    7

    Unanswered: 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

  2. #2
    Join Date
    Dec 2001
    Posts
    1,109
    Provided Answers: 4
    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.

  3. #3
    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

  4. #4
    Join Date
    Dec 2001
    Posts
    1,109
    Provided Answers: 4
    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.

  5. #5
    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

  6. #6
    Join Date
    Dec 2001
    Posts
    1,109
    Provided Answers: 4
    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.

  7. #7
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •