<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Accessing SQLServer from VMS in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/accessing-sqlserver-from-vms/m-p/3329036#M2989</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;depending on what you already have, you might be able to access SQL server using a Sybase client. For reference see&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnarsqlsg/html/msdn_sqlintgr.asp" target="_blank"&gt;http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnarsqlsg/html/msdn_sqlintgr.asp&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If I had to do it, I'd go the freetds route, but if you already have Sybase by chance it can be worth a look.&lt;BR /&gt;&lt;BR /&gt;Greetings, Martin</description>
    <pubDate>Mon, 12 Jul 2004 20:41:39 GMT</pubDate>
    <dc:creator>Martin P.J. Zinser</dc:creator>
    <dc:date>2004-07-12T20:41:39Z</dc:date>
    <item>
      <title>Accessing SQLServer from VMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/accessing-sqlserver-from-vms/m-p/3329031#M2984</link>
      <description>Does anybody access a SQLServer database from VMS and if so how?&lt;BR /&gt;&lt;BR /&gt;We also have Oracle on VMS and I believe we can get a gateway from Oracle.  But I didn't know if there were any other options available.</description>
      <pubDate>Mon, 12 Jul 2004 11:01:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/accessing-sqlserver-from-vms/m-p/3329031#M2984</guid>
      <dc:creator>Shael Richmond</dc:creator>
      <dc:date>2004-07-12T11:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing SQLServer from VMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/accessing-sqlserver-from-vms/m-p/3329032#M2985</link>
      <description>parhaps you could use ODBC client on VMS - they may be one from Attunity Connec. &lt;BR /&gt;Or could use jdbc from java?</description>
      <pubDate>Mon, 12 Jul 2004 11:15:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/accessing-sqlserver-from-vms/m-p/3329032#M2985</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2004-07-12T11:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing SQLServer from VMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/accessing-sqlserver-from-vms/m-p/3329033#M2986</link>
      <description>There are a number of options, including Attunity or one of the other commercial ODBC vendors like EasySoft or OpenLink.  &lt;BR /&gt;&lt;BR /&gt;I have a preference for FreeTDS since I'm the one who ported it to VMS :-).  See:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.freetds.org" target="_blank"&gt;http://www.freetds.org&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There is also a pure Java JDBC client:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://jtds.sourceforge.net/" target="_blank"&gt;http://jtds.sourceforge.net/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Providing more information about the specifics of "access a SQL Server database" would probably net you more concrete help about the relative advantages of the different solutions.  I.e., are you just exporting data and don't need transactional control?  Or do you need full programmatic access?  If so, what language(s) are you using?  Do you need to access Oracle, SQL Server, and RMS from within the same program?  Do you need access from DCL?  &lt;BR /&gt;&lt;BR /&gt;Do you have the budget and authority to install a special driver on each of the target systems you want to access (something all the commercial solutions will require)?&lt;BR /&gt;&lt;BR /&gt;The list could go on, but you get the idea.</description>
      <pubDate>Mon, 12 Jul 2004 11:58:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/accessing-sqlserver-from-vms/m-p/3329033#M2986</guid>
      <dc:creator>Craig A Berry</dc:creator>
      <dc:date>2004-07-12T11:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing SQLServer from VMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/accessing-sqlserver-from-vms/m-p/3329034#M2987</link>
      <description>&amp;gt;There are a number of options, including &amp;gt;Attunity or one of the other commercial &amp;gt;ODBC vendors like EasySoft or OpenLink. &lt;BR /&gt;&lt;BR /&gt;I looked at Easysoft but like you said it has a server side piece.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I have a preference for FreeTDS since I'm &amp;gt;the one who ported it to VMS :-). See:&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&lt;A href="http://www.freetds.org" target="_blank"&gt;http://www.freetds.org&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I'll take a look at it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Providing more information about the &amp;gt;specifics of "access a SQL Server database" &amp;gt;would probably net you more concrete help &amp;gt;about the relative advantages of the &amp;gt;different solutions. I.e., are you just &amp;gt;exporting data and don't need transactional &amp;gt;control? Or do you need full programmatic &amp;gt;access? If so, what language(s) are you &amp;gt;using? Do you need to access Oracle, SQL &amp;gt;Server, and RMS from within the same &amp;gt;program? Do you need access from DCL? &lt;BR /&gt;&lt;BR /&gt;The application is written in Fortran.&lt;BR /&gt;It would only need to access SQLserver.&lt;BR /&gt;The application is an interface to 3rd party product(Proficy).  All it would be doing is&lt;BR /&gt;calling a stored procedure.  Everything would be read only.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Do you have the budget and authority to &amp;gt;install a special driver on each of the &amp;gt;target systems you want to access  &lt;BR /&gt;&amp;gt;(something all the commercial solutions &amp;gt;will require)?&lt;BR /&gt;&lt;BR /&gt;I could get the authority(and budget) but I'd prefer to keep this as a client side application only.</description>
      <pubDate>Mon, 12 Jul 2004 12:35:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/accessing-sqlserver-from-vms/m-p/3329034#M2987</guid>
      <dc:creator>Shael Richmond</dc:creator>
      <dc:date>2004-07-12T12:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing SQLServer from VMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/accessing-sqlserver-from-vms/m-p/3329035#M2988</link>
      <description>Ah, good.  You have fairly simple case.  If you use FreeTDS you'll need to decide whether to use the dblib API or ODBC.  If the latter, you'll also need a driver manager, specifically unixODBC (&lt;A href="http://www.unixodbc.org)." target="_blank"&gt;http://www.unixodbc.org).&lt;/A&gt;  I think dblib would be a lot quicker to get up and running.  ODBC would have the advantage that you could later swap out the innards to a different ODBC driver and leave your top-level code unchanged.&lt;BR /&gt;&lt;BR /&gt;In any case you'll likely be calling C routines from FORTRAN, so you'll need to sort out how you want to do that.  You can null terminate your strings and pass by reference, or you can write a layer in C that accepts values by descriptor, copies them to C strings, and passes them to the database library.  In your case the "layer" might be a single routine that handles all database interaction and returns a result.  Or the layer could provide a jacket around each database call.  Attunity provides something like the latter, I believe.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Jul 2004 13:46:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/accessing-sqlserver-from-vms/m-p/3329035#M2988</guid>
      <dc:creator>Craig A Berry</dc:creator>
      <dc:date>2004-07-12T13:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing SQLServer from VMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/accessing-sqlserver-from-vms/m-p/3329036#M2989</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;depending on what you already have, you might be able to access SQL server using a Sybase client. For reference see&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnarsqlsg/html/msdn_sqlintgr.asp" target="_blank"&gt;http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnarsqlsg/html/msdn_sqlintgr.asp&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If I had to do it, I'd go the freetds route, but if you already have Sybase by chance it can be worth a look.&lt;BR /&gt;&lt;BR /&gt;Greetings, Martin</description>
      <pubDate>Mon, 12 Jul 2004 20:41:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/accessing-sqlserver-from-vms/m-p/3329036#M2989</guid>
      <dc:creator>Martin P.J. Zinser</dc:creator>
      <dc:date>2004-07-12T20:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing SQLServer from VMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/accessing-sqlserver-from-vms/m-p/3329037#M2990</link>
      <description>Martin,&lt;BR /&gt;&lt;BR /&gt;With a number of pretty severe restrictions, yes, you can use the old, now-defunct Sybase clients to access MS SQL Server.  If you have SQL Server before 7.0, you'll probably be fine.  If you have SQL Server 7.0, you need, IIRC, SP2 since 7.0 as originally shipped accidentally broke compatibility with older versions of the TDS protocol.  If you're using MS SQL 2000 or later, you're out of luck because these versions *intentionally* broke compatibility with older versions of the TDS protocol. &lt;BR /&gt;&lt;BR /&gt;Under the limited circumstances in which the combination works, I believe you are limited to text and varchar fields with a maximum length of 255 characters.</description>
      <pubDate>Tue, 13 Jul 2004 15:31:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/accessing-sqlserver-from-vms/m-p/3329037#M2990</guid>
      <dc:creator>Craig A Berry</dc:creator>
      <dc:date>2004-07-13T15:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing SQLServer from VMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/accessing-sqlserver-from-vms/m-p/3329038#M2991</link>
      <description>Craig,&lt;BR /&gt;&lt;BR /&gt;I downloaded FreeTDS and ran the configure.com  But when I run MMS I got&lt;BR /&gt;the following error:&lt;BR /&gt;&lt;BR /&gt;%MMS-F-GWKNOPRN, There are no known sources for the current target [.INCLUDE]TDS&lt;BR /&gt;_SYSDEP_PUBLIC.H_IN&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also the documentation refers to using SQSH&lt;BR /&gt;to test with but I didn't see a VMS version.&lt;BR /&gt;Is there something else I can test with?</description>
      <pubDate>Tue, 13 Jul 2004 15:35:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/accessing-sqlserver-from-vms/m-p/3329038#M2991</guid>
      <dc:creator>Shael Richmond</dc:creator>
      <dc:date>2004-07-13T15:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing SQLServer from VMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/accessing-sqlserver-from-vms/m-p/3329039#M2992</link>
      <description>When you untar the archive, be sure to use the -o or /ODS2 option with vmstar, assuming you are on an ODS-5 disk.  Otherwise you'll get a few caret-escaped filenames that the build procedure won't find.&lt;BR /&gt;&lt;BR /&gt;When you've got a successful build, edit pwd.in and freetds.conf in the top-level directory and run MMS CHECK to test.  You'll also have a tsql.exe and freebcp.exe for interactive SQL and bulk copy operations, respectively.  See [.doc]tsql.txt and [.doc]freebcp.txt for the documentation of these utilities.</description>
      <pubDate>Tue, 13 Jul 2004 17:21:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/accessing-sqlserver-from-vms/m-p/3329039#M2992</guid>
      <dc:creator>Craig A Berry</dc:creator>
      <dc:date>2004-07-13T17:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing SQLServer from VMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/accessing-sqlserver-from-vms/m-p/3329040#M2993</link>
      <description>Does it require ODS-5?&lt;BR /&gt;I did it a little different and maybe that&lt;BR /&gt;was the problem.  I untared it on my PC&lt;BR /&gt;then zipped it up.  Then I FTP'ed it to &lt;BR /&gt;VMS and created a directory.&lt;BR /&gt;MMS only gave that one error but didn't create and exe's.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Jul 2004 17:53:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/accessing-sqlserver-from-vms/m-p/3329040#M2993</guid>
      <dc:creator>Shael Richmond</dc:creator>
      <dc:date>2004-07-13T17:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing SQLServer from VMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/accessing-sqlserver-from-vms/m-p/3329041#M2994</link>
      <description>No, it does not require ODS-5.  You're generally much better off unpacking the archive on the target system, though the filename looks correct to me and the untar method may be a red herring.  You might also try MMK (from &lt;A href="http://www.madgoat.com)" target="_blank"&gt;www.madgoat.com)&lt;/A&gt; since MMS does occasionally hiccup on things MMK handles just fine.</description>
      <pubDate>Tue, 13 Jul 2004 18:24:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/accessing-sqlserver-from-vms/m-p/3329041#M2994</guid>
      <dc:creator>Craig A Berry</dc:creator>
      <dc:date>2004-07-13T18:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing SQLServer from VMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/accessing-sqlserver-from-vms/m-p/3329042#M2995</link>
      <description>Hi !&lt;BR /&gt;&lt;BR /&gt;Just for collection, FreeTDS port to OpenVMS:&lt;BR /&gt;&lt;A href="http://starlet.deltatel.ru/~laishev/work/freetds/" target="_blank"&gt;http://starlet.deltatel.ru/~laishev/work/freetds/&lt;/A&gt;</description>
      <pubDate>Fri, 12 Nov 2004 05:20:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/accessing-sqlserver-from-vms/m-p/3329042#M2995</guid>
      <dc:creator>Ruslan R. Laishev</dc:creator>
      <dc:date>2004-11-12T05:20:27Z</dc:date>
    </item>
  </channel>
</rss>

