"Graham Hobbs" <ghobbs@[EMAIL PROTECTED]
> wrote in message
news:vfurb39ac04g4i76sdboobu4adg9jsbmd3@[EMAIL PROTECTED]
> Help please...
> I have a problem trying to create a KSDS file from a sequential file.
> Am using File Manager Version 6.15 and is my first attempt to use such
> to create a KSDS.
> I cannot interpret the do***entation and the BUTIL-100 error message
> is not helpful (like 'what data buffer').
> I have to put 200/300 files through this process. If I can get the
> first working I feel the remainder will be easy even though some will
> require two alternate keys.
>
> .. so I executed the following .CMD file, in an NT DOS window..
>
> BUTIL -CREATE E:\CONRAD\VS1A\ZZJ35VSA.FIL E:\CONRAD\VS1A\ZZJ35BU2.TXT
>
> .. where ZZJ35BU2.TXT contained.all File Manager elements in order,
> all lowercase, (page=4096 was desperation),...
>
> record=100 variable=n truncate=n compress=n
> key=1 page=4096 replace=n
> fthreshold=20
> position=1 length=3 duplicates=n
> modifiable=n type=string null=n
> segment=n
>
> ..where ZZJ35VSA.FIL contained (these recs are fixed format and 100
> bytes each) ...
>
> 003ABETTSED ADEN 0071161101341121021103
> 006AFFLECK ARCHER 0454165105160861066807
> 009BABAYARO BENTLEY 0872139209141101101610
> 012BRIGHTSMITH BUCHANAN 1234567813110841141315
> 015CALDERDALE CHAPPELL 1617177117391581181119
> 018CONLEY CRANE 2015139921571280221923
> 021DANIELS DESAILLY 2464195125160841260827
>
> ..this was the result..
>
> E:\conrad\vs1a>zzj35bu1
>
> E:\conrad\vs1a>BUTIL -CREATE E:\CONRAD\VS1A\ZZJ35VSA.FIL
> E:\CONRAD\VS1A\ZZJ35BU2
> .TXT
>
> File Manager Version 6.15
> Copyright 1982 - 1995, Btrieve Technologies, Inc.
> All Rights Reserved.
>
> BUTIL-14: The file that caused the error is
> E:\CONRAD\VS1A\ZZJ35VSA.FIL.
> BUTIL-100: Microkernel error = 97. The data buffer is too small.
>
> BUTIL-9: The command did not complete due to an unrecoverable error.
> E:\conrad\vs1a>
>
> And I know this stuff is absolutely old but I have reasons!
> Am having trouble interpreting, finding 'data buffer' parameter other
> than in Trace.
> Any help mightily appreciated. Please, thanks.
My guess is that you are specifying a page size of 4096 and the default is
512, or perhaps that's what your page size should be. Try making that
change. If you really need a page size of 4096, then you need to specify
that page size when you start the engine.


|