Results 1 to 5 of 5

Thread: BUTIL problem

  1. #1
    Join Date
    Dec 2004
    Posts
    2

    Unhappy Unanswered: BUTIL problem

    I'm trying to use butil to clone a btrieve 6.15 datafile for Lytec 2001 ... Lytec did not include butil with their app ... I was able to find butil 7 but not one referencing 6.15 ... so I tried 7 ... all I got was 3 errors ... BUTIL-14: the file that caused the error is north34.dat and BUTIL-100: Microkernel error = 20. The key buffer parameter is too short. ... after that line is BUTIL-9: the command did not complete due to an unrecoverable error.

    Can anyone shed some light on this?

    Is there a butil for 6.15? Do I need to change a parameter for butil 7 to work?

    Thank you very much for any assistance.

  2. #2
    Join Date
    Dec 2001
    Posts
    1,109
    Provided Answers: 4
    There was a BUTIL for Btrieve 6.15. Are you sure the Microkernal error was 20? THat's not a "Key buffer parameter too short" (it's a 21). Does Lytec have a tool to rebuild data files? If so use that. What was the exact command you used?
    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
    Dec 2004
    Posts
    2
    I used butil -clone northd34.dat northc34.dat

    Lytec has a tool for a rebuild but it had no effect on fixing the original problem ... error2: inserting record to file northc34.dat - when starting Lytec and error 8: updating record from file northc.34.dat The current file position invlaid - when trying to create a new bill for a customer

    If you hit OK a couple times you get by the error and you can work ... but each time you go to create a new bill you get the same error
    Last edited by rduq23; 12-21-04 at 13:14.

  4. #4
    Join Date
    Dec 2001
    Posts
    1,109
    Provided Answers: 4
    Sounds like more of a problem with Lytec. Almost like it's reporting the wrong error. That looks like the right command line. Do you have the Maintence Utility? You can try that one. Other than that, it might be time to call Lytec. You can also try a third party tool or dev tool. For example, you can use the Btrieve Rebuild DLL (http://www.mirtheil.com/rebuild.asp) but it's more of a development tool.
    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
    Dec 2004
    Posts
    3
    The file sounds like it's a version 5 format. The butil 14 is a pre-image file error. Do a butil -stat on northd34.dat and post here.

Posting Permissions

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