Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Brequest v7.90 using ip protocol instead of spx

Status
Not open for further replies.

Breaker2

Technical User
Apr 24, 2003
7
US
I have an old DOS application running Brequest v7.90 on a Novel 5.0 Server using IPX/SPX working just fine. However we are switching over to an ip protocol instead of IPX/SPX. I've tried using the recommended loading of the Sql client on the workstation using btrdrv.sys loaded from the config.nt file. Everything seems to load okay, but when I open one of the btrieve file I get a Error:27 invalid Key position 27. I am trying to avoid having to upgrade the Btrieve files from the DOS formats to Sql. Has anyone successfully used tcp/ip to open up old btrieve files under a Windows 2000 workstation ? Thank you.
 
Been there, Done that. What is the workstation OS? If it is Windows 98/98SE, have you tried copying the "BDOSSTUB.EXE" into the Windows folder, "BTRBOX95.EXE" into the Windows startup folder. These files are locatd in the "C:\PVSW\BIN" folder on a Windows 98/98SE. THey are not availabel with a Windows 2000/XP client install. If you application is called by a batch file, you can modify the batch file to call "BDOSSTUB.EXE" and not make any "DOS" calls to the requestor. This will allow the Pervasive client to comunicate with the server engine and will allow you to make use of the IP protocol. This information is available at the Pervasive WEB site. If there were more info on how your app is started More suggestion would be available.

Michael Sotomayor CNA, CPP, CPT
 
I am currently using Win 2000 as a workstation. I have installed the Pervasive client on my workstaion using the btrdrvr.sys driver loading in config.nt. That is when I get the Error:27 invalid Key position 27. Prior to that I was loading Brequest 7.90 on a novell Server 5.0 with Ipx/spx protocol. However using the latest Novell client does not garrantee a Ipx/Spx connection all the time. Therefor I have to switch to using IP protocol instead. According to the documentation I have read, all I needed was to load Btrdrvr and its not working.
 
How does the application start. What I mean is the exexcutable being called from a batch file as was the case with some of the older DOS applications? If it is ther emay be a couple fo things we can change to make it work.
 
The way the application starts is by loading Brequest and then using a Cobol btrieve call to open the files. Is this what looking for ?
 
Possibly. Does the application start with a batch file (i.e. start.bat) if so, remark out any lines in the batch file that call btrieve. Some batch files are indented on the line that makes the callto the requestor. If this is the case, make sure the "REM" starts at the beginning of the indent or it may not work. The app should then use the correct requestor. On the W2K Novell Client side of the Windows, the lines in the "CONFIG.NT" will also require modification to get performance up. Let me know one way or the other.
 
Yes, the application starts with a Bat file. I have tried to remarked all references to brequest, loaded btrdrvr.sys in config.nt. That when I get the Error:27 invalid Key position 27. Am I missing some configuration parameters ?
 
I would be willing to wager that the app is making a call outside of the batch file to a btrieve requestor. FIndong it is the next trick. Have you renamed and DOS requestors in the app directory (breqnt.exe)?
 
I have looked at some of the source code and it looks like its doing a direct btrieve call. The Programs were written in Realia Cobol and is calling a supplied btrieve call. I will try contacting some of the programmers (outside consultants) to see if they can find a replacement call module. Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top