INF: Running MS-DOS/Windows DB-Lib Applications in Lanserver

Last reviewed: April 28, 1997
Article ID: Q89925

The information in this article applies to:
  • Microsoft SQL Server version 4.2 for OS/2

SUMMARY

To run DB-Library (DB-Lib) applications from an MS-DOS/Windows client in an IBM Lanserver environment, the DOSLAN.INI file must contain several parameter settings, which are explained below.

MORE INFORMATION

To run a db-lib application in an MS-DOS/Windows environment, support for named pipes, mailslots, and datagrams is required. Also needed is the support for general network APIs. The DOS LAN Requester does not provide these by default. They are by the following entries in the DOSLAN.INI file on the workstation:

   /nms:5
   /nvs:4
   /ndb:4
   /api
   /nbs:1k
   /bbs:2k

/nms indicates mailslot API support and defines the number of
     mailslots that can be created. Default is no mailslot api
     support. This requires the /ndb entry.

/nvs indicates netserverenum API support and defines the number of
     view server entries supported. Default is no support.

/ndb indicates datagram support and defined the number of datagram
     buffers used to receive the mailslots and datagrams. Default is 2
     (3 if both nms and nvs are present).

/api indicates the support for general network APIs. No support is the
     default. NBS, NVS, and NMS support are prerequisites.

/nbs defines the size of buffers for file/print caching. Default is
     1K. If /api is specified, minimum is 1K.

/bbs defines the size of large buffers for file/print caching. It must
     be larger than NBS (default is 4K).


Additional query words: dblib
Keywords : kbprg SSrvDB_Lib
Version : 4.2
Platform : OS/2


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 28, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.