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



The information in this article applies to:

  • Microsoft SQL Server 4.2x

This article was previously published under Q89925

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).
				

Modification Type:MinorLast Reviewed:2/14/2005
Keywords:kbinfo kbProgramming KB89925