home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / database / 5820 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  6.9 KB

  1. Path: sparky!uunet!munnari.oz.au!yoyo.aarnet.edu.au!arnie.systems.sa.gov.au!roads.sa.gov.au!walsh
  2. From: walsh@roads.sa.gov.au
  3. Newsgroups: comp.databases
  4. Subject: Re: Paradox SQL-link with VMS???
  5. Message-ID: <1992Jul29.155856.51@roads.sa.gov.au>
  6. Date: 29 Jul 92 15:58:56 GMT
  7. References: <1992Jul24.134420.3159@otago.ac.nz>
  8. Organization: DEPARTMENT of ROAD TRANSPORT
  9. Lines: 138
  10.  
  11. In article <1992Jul24.134420.3159@otago.ac.nz>, unitelmc@otago.ac.nz writes:
  12. > Hi there
  13. > We are looking to use Paradox SQL-link to connect our PC database system to our 
  14. > VAX system to access Rdb/VMS data. What I have not been able to find out (even
  15. > from our local Borland agent) is what you need in your PC to be able to talk
  16. > over DECNET, and what happens at the VAX end:
  17. >         * Does the SQL-link run SQL on the VAX for you?
  18. >         * Do you have to have some other product as well ?
  19. > If anyone has experience using Paradox SQL-link in a VMS envirnment I would be 
  20. > very interested in hearing how it really works! Please E-mail to me direct.
  21.  
  22. Hi back.
  23. Well, we had the same problem with BORLAND and it took around 4 weeks to get it
  24. operating sucessfully due to the PROXY problems (using PARADOX V3.5 to RDB/VMS
  25. V4.0). It seems to go OK once the right things are done, although we have
  26. decided to wait for the windows version to appear b4 we so anything with it. A
  27. quick summary of what I think is needed/happens follows (it may not necessarily
  28. be true):
  29.  
  30. 1. You need RDB/VMS installed and started
  31. 2. You need SQL installed and started
  32.    - the install could be part of the RDB install, depending on your version
  33. 3. You will need to stop SQL Services and edit your parameter files (once only)
  34.    (a)    SYS$COMMON:[SYS$STARTUP]SQLSRV$CONFIG.DAT and
  35.    (b)    SYS$COMMON:[SYS$STARTUP]SQLSRV$PROXY.DAT    
  36.    so that they have correct parameters. Particularly (b). A copy of our files
  37.    is attached below. This was our major barrier to our successful running and
  38.    you will have to tinker with them a bit before they'll go for you since SQL
  39.    LINK only wants to know about old RDB V3.1 type connects. beware.
  40. 4. Start up SQL services again for new params to take effect. Starting this
  41.    defines object 81 in the volatile decnet database so that an incoming decnet
  42.    request to this object will stoke up the correct procedure. That is
  43.    essentially what paradox SQL link does - put out a decnet request for this
  44.    object to be stoked up so that it can `talk sql' back and forward to the
  45.    sql services program. This is real hairy stuff as it seems to define more
  46.    created server processes as `pseudo-batch-jobs'. I don't know why. You'll
  47.    sometimes see jobs running on a queue which i'm sure doesn't exist. Anyway,
  48.    it works.
  49. 5. Do all sorts of nasty things to the PC to ensure that there are enough
  50.    NCP MAX LINKS for the decnet links (we use 20), etc.
  51. 6. Do all sorts of nasy things with SQL LINK to ensure PARADOX will use it.
  52.  
  53.                     Best of luck to you, Dave.
  54.  
  55.  
  56. SYS$COMMON:[SYS$STARTUP]SQLSRV$CONFIG.DAT
  57.  
  58. -- ----------------------------------------------------------
  59. -- ----------------------------------------------------------
  60. --               S Q L / S E R V I C E S
  61. --          C O N F I G U R A T I O N   F I L E 
  62. -- ----------------------------------------------------------
  63. --                   INTRODUCTION 
  64. -- ----------------------------------------------------------
  65. -- This SQLSRV$CONFIG.DAT file contains parameters used at
  66. -- system startup time to configure execution server processes
  67. -- in the process pool. Once Rdb/VMS is installed, the processes 
  68. -- in the pool are available to execute client API requests.
  69. -- After installing Rdb/VMS, you can alter this configuration 
  70. -- file to suit application requirements at your site.
  71. -- ----------------------------------------------------------
  72. --                   CONTENTS OF THIS FILE
  73. -- ----------------------------------------------------------
  74. -- This configuration file contains two sets of parameters:
  75. --      o  The first set defines a GENERIC class of 
  76. --         execution server processes.
  77. --      o  The second set defines a DATABASE class of 
  78. --         execution server process.
  79. -- The second database class definition is commented out. The 
  80. -- installation procedure cannot create database class servers
  81. -- at system startup because SQL/Services does not know what 
  82. -- databases your applications require. The database class 
  83. -- definition is provided as an example.
  84. -- ----------------------------------------------------------
  85. -- "GENERIC" CLASS DEFINITION
  86. -- ----------------------------------------------------------
  87. -- The execution servers in the generic server class are 
  88. -- general-purpose server processes that the communication server 
  89. -- assigns by default to execute API requests. Execution servers
  90. -- in this class are not pre-attached to a database as they are 
  91. -- with the database class of execution servers.
  92. --
  93. -- You can define only one generic server class in a configuration
  94. -- file; however, you can define multiple execution servers in the
  95. -- generic class process pool. A generic class definition follows:
  96. -- 
  97. -- *** The MAX parameter below was changed from 2 to 100 by DCW on 7/8/91
  98. -- *** The IDLE parameter below was changed from 3 to 1 by DCW on 2/3/92
  99. -- 
  100. -- ----------------------------------------------------------
  101. TYPE    "GENERIC"
  102. MIN     0
  103. MAX     100
  104. IDLE    1
  105. -- ----------------------------------------------------------
  106. -- "DATABASE" CLASS DEFINITION
  107. -- ----------------------------------------------------------
  108. -- The database class of execution server processes differs from 
  109. -- the generic class of execution servers in several ways. First, 
  110. -- the database servers are pre-attached to a database. Second, 
  111. -- the attach is made through a single user name as Rdb/VMS 
  112. -- requires when binds to databases occur.
  113. --
  114. -- You can define multiple database classes in the configuration
  115. -- file. Each database server class can contain multiple execution
  116. -- server processes. A database class definition follows:
  117. -- ----------------------------------------------------------
  118. -- TYPE    "PERSONNEL"
  119. -- USER    "BARNEY"
  120. -- EXECUTE "DECLARE SCHEMA FILENAME SQLDB$PERSONNEL"
  121. -- IDENT   "SUPERVISOR"
  122. -- MIN     1
  123. -- MAX     3
  124. -- IDLE    1800
  125. -- ----------------------------------------------------------
  126. -- ----------------------------------------------------------
  127.  
  128. SYS$COMMON:[SYS$STARTUP]SQLSRV$PROXY.DAT
  129.  
  130. -- proxy file
  131. --
  132. -- add/proxy nodename::username    localname
  133. -- '*' valid for the nodename and username
  134. add/proxy DEVPC7::walsh walsh
  135. add/proxy DEVPC7::* walsh
  136. add/proxy *::walsh walsh
  137.  
  138. +---------------------------------------------------------+
  139. |  Dave Walsh, Dept. of Road Transport, South Australia.  |
  140. +---------------------------------------------------------+
  141. | Email: walsh@sysdev.roads.sa.gov.au                     |
  142. | Post : Dept. of Road Transport, Information Technology, |
  143. |        PO Box 1, Walkerville, South Australia, 5081.    |
  144. | Phone: +61 8 343 2559               Fax: +61 8 343 2768 |
  145. +---------------------------------------------------------+
  146.