home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / SQLFIX1.ZIP / SQLFIX1.TXT
Text File  |  1990-09-26  |  3KB  |  65 lines

  1.        HOW TO MAKE SQLSERVER 1.0/1.1 work with IBM LAN MANAGER 1.0/1.2
  2.  
  3. 1) there is a bug in the IBM lan server named pipe support. which turns the 
  4. data you are sending thru the pipe to garbage. this only happens if you 
  5. do any/or all of the following:
  6.       
  7.       a. make the inbound and outbound buffers different sizes
  8.       b. make the buffer sizes not an even multiple of 256
  9.       c. make the buffer size greater than 2048
  10.  
  11.  the buffer size has nothing to do with the code you write. you DO NOT
  12. have to change the size of your message if you use a message pipe, or the 
  13. number of bytes sent at a time if a byte pipe.  as it has no affect on how
  14. much data you can throw into the pipe at a time. 
  15.  
  16.  this only pertains to how the operating system shoots across chunks
  17. of your data to the other end of the pipe. why they ever allowed us to 
  18. mess with the internal buffer size i'll never know. but both IBM lan server
  19. 1.0 < fixed in 3072 > and 1.2 < will be fixed in 4080 > have both had the
  20. the problem i wonder if 1.3 will be the same!!!!!!
  21.  
  22.  
  23. 2] the problem messes up sqlserver cause the guys as Microsoft have set
  24. the internal buffer size's [DosMakeNMPipe] so that they break all
  25. three of the above rules.
  26.  
  27. if you can 'select * from titles' in the PUBS database then you don't
  28. have a problem. otherwise you need the following patch.
  29.  
  30.  
  31. 3] the remedy is to get your exehdr or Dentist out and find the import
  32. and correct the code [with patch.exe] just before the callNMpipe.
  33.  
  34. we basicly set the inbound & outbound size to 1024 bytes.
  35.  
  36. so for sql server 1.0 the address is a0fcd and for sql server 1.1 it's
  37. 9fe10 in the file sqlservr.exe. there should be a 68 06 06 68 02 02 at
  38. the above address change it to 68 00 04 68 00 04 and your good to go. 
  39.  
  40.  i make no warrenty on anything i've said here. nor do i imply that any
  41. modifications that you make to your software will either improve it
  42. or tune it in any way. 
  43.  
  44.  also note that Microsoft has disavowed all knowledge of this patch.
  45. and if you do call the $2 a min 1-900 hot line they will tell you to
  46. wait till ibm fixs lan server.
  47.  
  48.  
  49.  any damage this may cause in any way, shape or form is not covered by me
  50. in any way. this is AS IS. but if you have any questions or have a
  51. version of sqlserver that dosent match up to what should be there
  52. send me email or call my bbs 718-494-0197 and leave feedback.
  53.  
  54.  also be sure to try my new netpopup service in MSSYS lib 16. it's called 
  55. newpop.zip. it adds a PM face lift where one was really needed.
  56.  
  57.  lastly need a way to move 3000-5000 rows/min from DB2 to sql server
  58. let me know as there is something i'm using called the DB gateway which
  59. works nicely......... and you talk to it thru DB-LIB. imagine SAF connected
  60. to DB2 instead of sqlserver or a program reading from both seamlessly using
  61. the same sql and interface!!!!
  62.  
  63.  
  64. sql server is  a trademark of Microsoft corp. and DB gateway is a trademark
  65. of Micro decisionware. lan server is a trademark of IBM corp