Getting a driver for VMS to connect to SQL Server 2005

我与影子孤独终老i 提交于 2019-12-11 03:28:13

问题


I want to connect from a COBOL/VMS system to an SQL Server 2005 instance. Could someone point me to a driver that works well?


回答1:


This is similar to another question on SO. Though not specific to VMS, many of the options presented there would work with VMS/ODBC.

You may also want to look at FreeTDS (I've used it many times but never from VMS) if you are looking for an open source implementation you can customize. Otherwise, the supported/commercial vendors that have products that would work include Attunity, DataDirect, EasySoft, and CONNX.




回答2:


You can have native connectivity to VMS files through Attunity Connect




回答3:


We currently do this from Pascal on VMS by calling a C procedure which in turns calls a Java class via JNI. The Java class uses JDBC to access the SQL Server database. There is no reason a similar thing couldn't be done from COBOL.

If you didn't want to do the JNI stuff, you could write a socket server in Java which accepted messages sent from the COBOL program and then did the update across to the SQL server database.



来源:https://stackoverflow.com/questions/1998069/getting-a-driver-for-vms-to-connect-to-sql-server-2005

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!