Prev | Getting Started with Pervasive.SQL (Server edition) | Next |
Using the DOS Requesters
This section documents the use of DOS requesters.
Overview
Pervasive.SQL V8 supports DOS Btrieve applications in several different ways. The exact method, however, depends on the current configuration and environment of the workstation.
Requesters Available
The following choices are available:
- Win32 DOS Box support: Allows a DOS application to run in a DOS box on a Windows NT or Windows 9x workstation. This enables direct communication to the Windows 32-bit workstation components rather than to the database engine. This configuration can be used with either a local Pervasive.SQL Workgroup engine, or a remote Pervasive.SQL server engine. The TCP/IP or SPX protocol supported for client/server access depends on the configuration of the Windows 32-bit components.
Note
DOS Box support must be used for Workgroup engines. These engines do not support the DOS requesters described below.
- DOS TCP/IP requester (BREQTCP): Allows a DOS application to run in any Windows DOS box or on a DOS workstation, and communicate to a remote Pervasive.SQL server engine via the TCP/IP protocol.
- DOS SPX requester (BREQUEST or BREQNT): Allows a DOS application to run in any Windows DOS box or on a DOS workstation, and communicate to a remote Pervasive.SQL server engine via the SPX protocol.
There are different reasons for using these different options, including:
- The Pervasive.SQL Workgroup engine and server engines running local applications support only the Win32 DOS Box configuration.
- DOS operating system requires the DOS TCP/IP or SPX requesters when accessing a remote server engine.
- Any given network environment must have only one of the supported protocols available.
Supported Configurations
The table below shows the DOS requester configurations that are supported.
The preferred Requester for Windows is BTRBOX. You can use this Requester even for legacy DOS applications, and for Workgroup applications.
Note
Use the BREQUEST/BREQNT/BREQTCP Requesters ONLY if you experience a problem with BTRBOX. These Requesters are supported for access to Server engines only, not to Workgroup engines.
Win16 and DOS Workstations
The Requesters for non-Win32 boxes are:
The following sections document the steps for running DOS applications on Windows NT and Windows 2000, Windows 9x, and DOS.
- Running DOS applications on Windows NT/2000
- Running DOS applications on Windows 9X/ME
- Verifying the DOS Configuration
- DOS TCP/IP Technical Information
- Configuring the Pervasive.SQL DOS Requester
Running DOS applications on Windows NT/2000
To run a Pervasive application on a Windows NT/2000 workstation or locally on a Windows NT/2000 server, you should always install the Windows client components. Note, these are installed on the Windows NT/2000 server by default. You can find the Windows client installation on the Pervasive.SQL V8 CD in the \clients\win directory. Typically, the client installation programs are also installed automatically on your Pervasive.SQL V8 server in the
\pvsw\clients\win
directory.After the Windows client component installation, you will have everything you need to run a DOS, Windows 16-bit, or Windows 32-bit application. The default DOS application support installed is the Win32 DOS Box configuration.
Using/Disabling Win32 DOS Box Support
Under Windows NT/2000, the DOS Box Install configures the drivers to be completely transparent. Thus, you are able to immediately open a command prompt and run a DOS Btrieve application. The CONFIG.NT file, located in the WINNT\SYSTEM32 directory, contains the command that enables DOS application support. This file is similar to the old Config.SYS in DOS. Windows NT and Windows 2000 load it for each DOS session opened. In here, the Install places the following path to load the Win32 DOS Box driver:
DEVICE = C:\PVSW\BIN\BTRDRVR.SYSTo disable the Win32 DOS box support to use the DOS TCP/IP or SPX requester, you must follow these steps:
- Remove the files BTRDRVR.SYS and BTRVDD.SYS from your system; these are installed by default in the \pvsw\bin directory.
- Edit the Config.NT file (using Notepad) in the folder WINNT\SYSTEM32. Delete or invalidate the line:
DEVICE=C:\PVSW\BIN\BTRDRVR.SYS
Note
Each configuration (Win32 DOS Box, DOS TCP/IP and DOS SPX Support) is mutually exclusive. You must disable the existing configuration before configuring your machine for a new configuration.
Using DOS TCP/IP Support (BREQTCP)
To use the DOS TCP/IP requester on a Windows NT or Windows 2000 workstation, you must first disable the Win32 DOS Box support as described above, and then enable the DOS TCP/IP requester configuration.
To enable BREQTCP support on Windows NT/2000, follow these steps:
- Copy the following six files into your
%SystemRoot%\SYSTEM
directory.%SystemRoot%
refers to your Windows directory, typicallyC:\WINNT
. You can determine the value for%SystemRoot%
by opening a DOS box and entering the SET command.BREQTCP.EXE BREQTCP.MSG JSBDOSWS.EXE JSBDOSWS.DLL MSOCKLIB.RC VSLDOS.INI- Click Start, point to Settings and select Control Panel.
- Double-click the System icon and click the Environment tab.
In Windows 2000, double-click the System icon and click the Advanced tab to get to the environment variables setting.
- Add the following environment variable:
VSL=%SystemRoot%\SYSTEM
Note
There must NOT be a trailing semicolon in this statement.
Once the DOS TCP/IP requester is setup, follow the following steps to run a DOS application:
- Start a DOS session.
- Run JSBDOSWS.EXE
- Load BREQTCP.EXE from the \pvsw\bin directory; this needs to be loaded in each DOS session running a Btrieve application.
- Run your application.
Note
The commands to load JSBDOSWS and BREQTCP can be put in your AUTOEXEC.NT file. You can load JSBDOSWS with the Load High command.
To stop a DOS application, unload the requester components by entering the command BREQTCP /u followed by JSBDOSWS /u in the DOS box before closing it.
Using DOS SPX Support (BREQUEST/BREQNT)
There are two DOS SPX Btrieve requesters:
- BREQNT.EXE is the "dual mode" requester that can be used by a DOS application to communicate to either a Windows NT or a NetWare server.
- BREQUEST.EXE is a NetWare-only version of the DOS SPX requester.
BREQUEST exists for historical purposes before Windows NT support was available, and is still provided because it requires smaller memory than BREQNT. If you are accessing Pervasive.SQL on a NetWare server and if you are running low on DOS conventional memory, you may need to use BREQUEST. If you are accessing a Windows NT server, you must use BREQNT.
In order to use the DOS SPX requester on a Windows NT or Windows 2000 workstation, you must first disable the Win32 DOS Box support as described above; there are no special steps required to enable the DOS SPX requester configuration.
A DOS application can be run with the SPX protocol to a remote server engine by following these steps:
- Start a DOS session.
- Load BREQNT.EXE or BREQUEST.EXE from the \PVSW\BIN directory; this needs to be loaded in each DOS session running a Btrieve application.
- Run your application.
To stop a DOS application, unload the requester by entering the command
BREQUEST /u
orBREQTCP /u
in the DOS box before closing it.Running DOS applications on Windows 9X/ME
To run a Pervasive application on a Windows 9X/ME workstation, you must always install the Windows client components. These are found on the Pervasive.SQL V8 CD in the \clients\win directory.
Typically, the client installation programs are also installed on your Pervasive.SQL V8 server in the \pvsw\clients\win directory by default.
After the Windows client component installation, you will have everything you need to run a DOS, Windows 16-bit, or Windows 32-bit application. The default DOS application support installed is the Win32 DOS Box configuration.
Using/Disabling Win32 DOS Box Support on Windows 9X/ME
Note
Legacy DOS applications must use the BTRBOX configuration on Windows 9X/ME. In fact, it is the only supported configuration with the Workgroup engine. However, with client/server products, you can run DOS applications with either the BTRBOX configuration, or the legacy 16-bit DOS requesters.
If the DOS application is being run on a DOS or Windows 16-bit operating system, then the legacy 16-bit DOS requesters MUST be used. BTRBOX works on Win32 operating systems only.
Installation Instructions
To run a DOS application with the Win32 DOS Box configuration follow these steps:
- Start BTRBOX95:
- Select the BTRBOX95 icon to launch from the Start4Programs4Pervasive.SQL V84Other Utilities menu.
- Load from the \pvsw\bin directory. A minimized dialog appears indicating active support. You must leave this dialog running.
Closure of this dialog will unload BTRBOX95. You will only need to run BTRBOX once -- you may have multiple DOS sessions open using a single instance of the driver.
- Start a DOS session.
- Load BDOSSTUB.EXE from the \pvsw\bin directory; this needs to be loaded in each DOS session running a Btrieve application.
- Run your application.
Note
You MUST reboot after the initial installation of the Windows client components in order for the Win32 DOS Box support to function. A device driver (VxD) is registered and will not load until reboot.
The proper order to stop a DOS application is as follows:
If you do not follow this order, BTRBOX95 or the database engine may not unload properly.
In situations where stopping and restarting all clients is recommended, you should perform all three steps above. Simply stopping and starting your client applications is not sufficient.
To disable the Win32 DOS box support in order to use the DOS TCP/IP or SPX requester, you must follow these steps:
- Remove the files BTRBOX95.EXE, BDOSSTUB.EXE, and BTRBOX95.VXD from your system; these are installed by default in the \pvsw\bin directory.
- Using REGEDIT, remove the following key from your registry:
HKEY_LOCAL_MACHINE\System\Current Control Set\ Services\VXD\BtrBox95Each configuration (Win32 DOS Box, DOS TCP/IP and DOS SPX Support) is mutually exclusive. You must disable the existing configuration before configuring your machine for a new configuration.
Caution
Editing your registry is dangerous and can cause you to reinstall your entire computer. If you do not feel comfortable doing this, please obtain the services of a qualified technician. Pervasive can accept no responsibility for a damaged Registry.
Using DOS TCP/IP Support (BREQTCP)
To use the DOS TCP/IP requester on a Windows 9x workstation you must first disable the Win32 DOS Box support as described above, and then enable the DOS TCP/IP requester configuration using the following steps:
- Ensure you have the following five files in your PVSW\BIN directory. These files are installed as part of the clients\win installation. Make sure PVSW\BIN is included in your path.
BREQTCP.EXE BREQTCP.MSG JSBDOSWS.VXD MSOCKLIB.RC VSLDOS.INI- Use a text editor such as Notepad to edit your AUTOEXEC.BAT file located in your root directory. Make sure the following line is in the file:
SET VSL=C:\PVSW\BIN- Edit your SYSTEM.INI file with a text editor such as Notepad. SYSTEM.INI is a Windows system file that is located in your Windows directory (for example, C:\WINDOWS). In the section [386enh], ensure the following line exists
DEVICE=JSBDOSWS.VXD- Restart Windows 9X/ME to register your changes.
Once the DOS TCP/IP requester is setup, follow these steps to run a DOS application:
- Start a DOS session.
- Load BREQTCP.EXE from the \pvsw\bin directory; this needs to be loaded in each DOS session running a Btrieve application.
- Run your application.
To stop a DOS application, enter the command BREQTCP /u in the DOS box to unload the requester.
Using DOS SPX Support (BREQUEST/BREQNT)
There are two DOS SPX Btrieve requesters. BREQNT.EXE is the "dual mode" requester used by a DOS application to communicate to either a Windows NT or a NetWare server. BREQUEST.EXE is a NetWare-only version of the DOS SPX requester. This exists for historical purposes before Windows NT support was available, and is still provided because it requires smaller memory than BREQNT. If you are accessing Pervasive.SQL on a NetWare server and if you are running low on DOS conventional memory, you may need to use BREQUEST. If you are accessing a Windows NT server, you must use BREQNT.
To use the DOS SPX requester on a Windows 9x workstation, you must first disable the Win32 DOS Box support as described above; there are no special steps required to enable the DOS SPX requester configuration.
A DOS application can be run with the SPX protocol to a remote server engine by following these steps:
- Start a DOS session.
- Load BREQNT.EXE or BREQUEST.EXE from the \pvsw\bin directory; this needs to be loaded in each DOS session running a Btrieve application.
- Run your application.
To stop a DOS application, unload the requester by entering the command BREQUEST /u or BREQTCP /u in the DOS box before closing it.
Running DOS Applications
DOS Btrieve application support on DOS workstations is only available through the DOS TCP/IP or DOS SPX requesters.
Both allow a DOS application to communicate to a Windows NT/2000 or NetWare server running the client/server version of Pervasive.SQL V8.
Using DOS TCP/IP Support (BREQTCP)
To use the DOS TCP/IP requester on a DOS or Windows workstation, you must have one of the following TCP/IP stacks:
You can enable the DOS TCP/IP requester configuration using the following steps:
- Copy the following files to the target directory. If you are running DOS, the target directory is the directory where you installed the Pervasive.SQL DOS client software. These files can be found in the clients\dos directory on your Pervasive.SQL V8 CD or in the PVSW\Clients\DOS directory of a Pervasive.SQL V8 server.
- Rename your VSLDOS file to VSLDOS.INI in your target directory.
If Your TCP stack is Rename this file to VSLDOS.INI Microsoft LAN Manager VSLDOS.M3 Novell LAN Workplace VSLDOS.LWP FTP Software VSLDOS.FTP
- Edit AUTOEXEC.BAT file located in the root directory. Add the following line to the file:
SET VSL=[jsb-location]where [jsb-location] is the fully-qualified path of the directory where you placed the VSLDOS.INI file. For example, C:\PVSW\BIN for DOS.
- Restart the computer to register the AUTOEXEC.BAT changes.
Once the DOS TCP/IP requester is setup, follow these steps to run a DOS application:
- Make sure your TCP/IP components are loaded, as described by your TCP/IP stack provider.
- Run the JSB executable appropriate for your TCP stack:
- Load BREQTCP.EXE.
- Run your application.
VENDOR-SPECIFIC NOTES
- Ensure that the NUMSOCKETS parameter in the [SOCKETS] section of TCPUTILS.INI is set to the maximum concurrent number of connections required.
- SOCKETS.EXE is a Terminate and Stay Resident (TSR) program that allows applications to use the Microsoft LAN Manager TCP/IP stack. SOCKETS.EXE must be located in the same directory as the other Microsoft LAN Manager TCP/IP executable.
Using Novell's LAN Workplace for DOS with BREQTCP.EXE requires that the environment variable EXCELAN be set to the Novell base directory. For example, if you installed LAN Workplace in the C:\NET directory, do a SET EXCELAN=C:\NET prior to loading MNOVLWP.EXE and BREQTCP.EXE.
e.g. 'kernel-name' -t 16 -p 20
allocates 16 TCP connections and 20 packet buffers.
- Once the maximum number of connections is reached, it may prove difficult to effect any connection thereafter until all, or almost all, connections have been closed. You are therefore recommended to set the maximum number of connections to a high number.
To stop a DOS application, unload the requester components by entering the command BREQTCP /u at the DOS prompt, followed by [JSB executable] /U, where [JSB executable] is either M3OPEN.EXE, MNOVLWP.EXE, or MFTP22.EXE. If running in a Windows DOS box, unload the requester components before closing the DOS box.
Using DOS SPX Support (BREQUEST/BREQNT)
There are two DOS SPX Btrieve requesters. BREQNT.EXE is the "dual mode" requester that can be used by a DOS application to communicate to either a Windows NT or a NetWare server. BREQUEST.EXE is a NetWare-only version of the DOS SPX requester. This exists for historical purposes before Windows NT support was available, and is still provided because it has a smaller memory requirement than BREQNT. If you are accessing Pervasive.SQL on a NetWare server and if you are running low on DOS conventional memory, you may need to use BREQUEST. If you are accessing a Windows NT server, you must use BREQNT.
A DOS application can be run with the SPX protocol to a remote server engine by following these steps:
- At a DOS prompt, load BREQNT.EXE or BREQUEST.EXE from the \pvsw\bin directory; this needs to be loaded in each DOS session running a Btrieve application in a Windows environment.
- Run your application.
To stop a DOS application, unload the requester by entering the command BREQUEST /u or BREQTCP /u in the DOS box before closing it.
Verifying the DOS Configuration
To verify that the install completed successfully, you need a pure DOS Btrieve application. One of the simplest application ships with the server engines. You will find BUTIL.EXE in the PVSW\Clients\DOS directory. Running this command by itself will show a list of available commands. Do this one time to ensure the copyright information says Butil for DOS, not Windows NT. You will then want to access a Btrieve file. You can use the BUTIL -STAT command to do this. If the command completes successfully, your DOS support is functioning as designed.
BUTIL -STAT f:\pvsw\samples\sample.btrHere, "f:" is a drive letter mapped to your server and "f:\pvsw\samples\sample.btr" is the path and filename of an existing Btrieve data file. A successful completion will return information about the data file. Otherwise, you will see a status code indicating the problem. Pervasive Technical Support can help you resolve any problems.
DOS TCP/IP Technical Information
BREQTCP.EXE is a DOS executable that runs on various DOS and Windows platforms. It is built using JSB Corporation's Virtual Socket Library (VSL). VSL implements an API based on the Berkeley 4.3 sockets standard that enables development of platform-independent and transport-independent network applications. For information about JSB Corporation, visit their site at http://www.jsb.com.
Components of the Btrieve TCP/IP Requester
- DOS TCP/IP Requesters: BREQTCP.EXE, BREQTCP.MSG
- VSL DOS components: M3OPEN.EXE, MNOVLWP.EXE, MFTP22.EXE
- VSL Windows 9X/ME Components: JSBDOSWS.VXD
- VSL Windows NT Components: JSBDOSWS.EXE, JSBDOSWS.DLL
- VSL Platform specific configuration files - VSLDOS.INI, VSLDOS.M3, VSLDOS.LWP, VSLDOS.FTP
- VSL Multi-platform resource file: MSOCKLIB.RC
System Requirements for Btrieve TCP/IP Requester
You must have one of the following client operating systems:
For DOS, you must have one of the following TCP/IP stacks:
Conventional memory required to load with defaults
Accessing NetWare Servers
You must have your Pervasive.SQL server IP address configured properly on your clients for Pervasive.SQL to function. There are two ways to do this.
To configure your clients to use the server's IP address, do ONE of the following:
- Click Start, point to Settings and select Control Panel.
- Select Network and Dial-up Connections, and the Local Area Connection.
- From the component list, select TCP/IP and then click Properties.
- Enable DNS by selecting the corresponding button and entering the appropriate server information.
- Verify correct configuration using the TCP/IP 'ping' to ping the server by name.
- Enter your Server IP address/name in the hosts file:
\WINNT\SYSTEM32\DRIVERS\ETC\HOSTS
file (Windows NT/ 2000).\WINNT\SYSTEM\DRIVERS\ETC\HOSTS
file (Windows 9X).
Note
BREQTCP will return Btrieve status 20 if it is unable to resolve the server name into an IP address, or if the IP address is incorrect or unreachable.
Known Issues
This section contains notes on technical issues.
Multiple DOS Boxes
When running BREQTCP on Windows 9X/ME, only one DOS box is supported. Unloading BREQTCP is not sufficient to release the JSB VxD. The DOS box must be closed before another DOS box can load BREQTCP.
On Windows NT, there is no restriction on the number of DOS boxes that can be invoked.
Use of DOS Requesters on the Windows NT platform
There are some configuration requirements when you use the DOS Requester (BREQTCP, BREQNT or BREQUEST) with Windows NT.
- To run a DOS application using the DOS requester in a Windows NT DOS box to access a NetWare server, NW16.EXE must be loaded prior to loading BREQTCP. Pervasive Software recommends you load it from AUTOEXEC.NT. If the NWLink IPX/SPX compatible transport is installed, these files are located in the WINNT\SYSTEM32 directory.
- DOS applications are not supported through the DOS Requester when running on the Windows NT server where the data files you are trying to access reside. You must use the Win32 DOS Box Support as installed by Pervasive.SQL V8 to access local files.
IP Address caching in Windows 9X/ME
After adding a target IP address for a NetWare server in the local Windows 9X/ME hosts file, BREQTCP must be unloaded and reloaded.
After correcting a target IP address for a NetWare server in the local Windows 9X/ME hosts file, the Windows 9X/ME system may need to be restarted to restart the JSB VxD.
BREQTCP caches both valid and invalid IP addresses while the JSB VSL VxD caches valid IP addresses. The result is that modifications to the hosts file will not affect BREQTCP and may not affect the JSB VSL VxD depending upon prior attempts cached. This can be confusing when you are trying to modify a target IP address in the local host's file or on a DNS server.
Note
The Windows 9X/ME 'ping' utility does not exhibit this behavior, so ping may work while BREQTCP requires that Windows 9X/ME be restarted.
Diagnosing BREQTCP.EXE initialization failures
You may receive the following error message when loading BREQTCP:
BREQTCP-10: The function InitSocketLibrary returned an error.If you see this message, you can determine the cause by using this checklist:
- Verify that the JSB VSL components appropriate to your workstation are loaded. Refer to the "Using DOS TCP/IP Support (BREQTCP)" section for your operating system for instructions on loading the JSB VSL components.
- Verify that you set the VSL environment variable to the directory where you placed the VSLDOS.INI file.
- Verify that the VSLDOS.INI you are using is correct. You should copy the appropriate VSL platform specific configuration file into your installation directory and renamed it VSLDOS.INI. It is not necessary to modify the VSLDOS.INI file. Refer to the "Using DOS TCP/IP Support (BREQTCP)" section for your operating system to find the correct version of the configuration file for your platform.
- On Windows 9X/ME, ensure another DOS box using BREQTCP is open. This is the multiple DOS box condition described above.
Configuring the Pervasive.SQL DOS Requester
Note
There is no DOS requestor for the SQL Relational Database Engine. All database transactions on DOS must be done through the MicroKernel.
Before configuring the Pervasive.SQL DOS Requester, review this section for any information necessary to your operation. You should also read the READDOS.TXT file on the distribution media.
You must load the Pervasive.SQL DOS Requester at a workstation running DOS before that workstation can access network data files. There are three versions of the DOS Requester: BREQUEST, BREQNT, and BREQTCP.
The DOS Requester loads into a DOS workstation's memory as a Terminate and Stay Resident (TSR) program. You can access local as well as remote files by running a Pervasive.SQL engine on your machine.
Use of DOS Requesters on the Windows NT platform
There are some configuration requirements when you use the DOS Requester with Windows NT.
- To run a DOS application using the DOS requester in an NT DOS box, NW16.EXE and NWIPXSPX.EXE must be loaded prior to loading BREQNT or BREQUEST. Pervasive Software recommends you load them from AUTOEXEC.NT. If the NWLink IPX/SPX compatible transport is installed, these files are located in the WINNT\SYSTEM32 directory.
- DOS applications cannot run on the NT server where the data files you are trying to access reside. If attempted, a nonzero status code results.
Loading the Btrieve DOS Requester
Load the DOS Requester at the workstation by entering one of the following commands:
[path] BREQUEST [options] [path] BRREQNT [options] [path] BREQTCP [options]
path The path to the directory where the DOS Requester is stored. You can omit the path name if the DOS Requester is stored on the default drive or if it is located in a directory in your search path. option Any of the configuration options described in Btrieve DOS Requester Options .For example, if the Requester is on the default drive and you want to specify a 2,048 byte data message length, enter BREQNT /D:2048.
Note
The forward slash (/) before the configuration option is the only valid character you can use. If you specify a dash (-) or a backslash (\), the Requester may load improperly.
Unloading the Btrieve DOS Requester
To unload the DOS Requester, use the /U parameter of the DOS Requester (BREQUEST, BREQNT, or BREQTCP; see Unload Requester (/U) ), or the DOS Requester utility, BREQUTIL.EXE. At the workstation where the DOS Requester is loaded, enter BREQUTIL -STOP.
To determine the version of your DOS Requester, you can enter BREQUTIL -VER.
If files have been left open (for example, when an application does not issue a Close operation for each open file, or does not issue a Reset), simply logging out of one or more servers from a workstation does not close data files or terminate the Btrieve communications connection to the server. To close data files and terminate the connection, you must unload the Btrieve requester.
Btrieve DOS Requester Options
There are several configuration options for the Btrieve DOS Requester.
NetWare Runtime Server Support (/C)
Range: /C:0 | /C:1 | /C:1,username,password
Memory Required: Not applicable
Runtime Server Support allows access to the MicroKernel running on a NetWare Server that the user is not attached to. The workstation must have a network connection to one or more servers, but not necessarily the target Btrieve server. Using this option, you can enable or disable NetWare Runtime server support.
Data Message Length (/D)
Range: 532 through 57,000 bytes (55,512 bytes is the upper limit for BREQNT)
Memory Required: 355 bytes + data message length
This option specifies the length of the largest record (or the largest portion or chunk of a record) you want to access through the MicroKernel. (If you omit this option, the Requester uses the default value, 4096). The Requester uses this value to calculate the length of the data message buffer reserved for passing records between the MicroKernel and your applications. The requester maintains one copy of the data message buffer.
The value you enter here should not exceed the largest communication buffer size you configure for the MicroKernel through the Configuration utility since that is the maximum message that the server communication agent can receive.
Specify the data message length in bytes. For example, if the largest record your application uses is 3,000 bytes, specify the /D option as follows:
/d:3000
Note
Specifying a higher value than you need for the /D option does not improve performance and could waste workstation memory.
DOS Session Load (/L)
Memory Required: Not applicable
To run a DOS-based Btrieve application in a Windows DOS box, you must have the DOS Requester loaded in each DOS session. However, if you have already loaded the DOS Requester before loading Windows, you cannot load the DOS Requester in any subsequent DOS session. Consequently, you cannot run the DOS-based Btrieve application in the DOS box.
In each Windows DOS session that will be running a Btrieve-based application, load the DOS Requester with the /L option. Doing so loads another instance of the DOS Requester that is available only to the DOS session. This operation provides the DOS session with its own copy of the DOS Requester that is available only to the DOS session, and prevents the DOS session from using the instance of the DOS Requester that you loaded before starting Windows.
Note
Versions of Btrieve for NetWare prior to 6.15 required the DOS requesters to be loaded before Windows in order to run Win16 applications. This is no longer necessary.
Receive Packet Size (/M)
Default: 532 (BREQUEST) or 1514 (BREQNT or BREQTCP)
Memory Required: 3 * Receive Packet Size
This option serves the same function as the Receive Packet Size setting for the NetWare Btrieve Communications Manager server setting (described in Pervasive.SQL User's Guide). It has the same range as the server parameter but has different default that is optimized for the DOS requester.
Real-Time Data Compression (/O)
Memory Required: Approximately 32 KB on the workstation and 32 KB per client on the server
In many cases (such as when implementing extended reads or huge records), this option can help reduce network traffic and increase performance by reducing the number of packets required to complete a request to the MicroKernel. This option may, however, adversely affect memory and performance due to the compress and uncompress work that must be done.
Compressing and decompressing data takes extra CPU time on both the server and client sides. Because of overhead, do not use this option with fast networks or with slow workstations for clients.
Note
This is not to be confused with Data Compression Flag. For more information on Data Compression Flag, see Advanced Operations Guide.
Number of Servers (/S)
Range: 1 through 8, or more if memory permits
Memory Required: 27 bytes per server
The /S option specifies the number of MicroKernel Database Engine with which the requester can simultaneously communicate.
Number of Tasks (/T)
Memory Required: 9 bytes per task
The /T option specifies the maximum number of workstation tasks that can access the server engine at one time using the BTRVID function. Applications that use the BTRV function are not affected by this option. For more information about whether you should set this option, refer to the documentation for your Btrieve application.
Unload Requester (/U)
Memory Required: Not applicable
This option unloads the Btrieve requester from memory. It performs the same function as a BREQUTIL -STOP command.
Help (/?)
Prev Using TCP/IP to Connect to a Linux Server |
Contents Up Check for Revisions | Next After Installation |