从.Net应用程序或使用JDBC ..连接到IMS与开放数据库? [英] Connect to IMS with Open Database from .Net application or using JDBC ..?

查看:202
本文介绍了从.Net应用程序或使用JDBC ..连接到IMS与开放数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找是否有特殊的驱动程序,我必须使用为了连接一个.NET应用程序到IMS。

在互联网上,我发现了文章,称为开放数据库,提供JDBC,这是一种方法。但是,它是为java环境和我想使用.NET。

I am looking to find if there are special drivers I have to use in order to connect a .NET application to IMS.
On the Internet, I found articles saying that something called Open Database, provides JDBC and that it is one way to go. However, it is for java environment and I want to use .NET.

我的问题是:

如何使用.NET应用程序(ASP.NET)中的打开数据库连接到IMS?

My question is:
How do I connect to IMS using Open Database from a .NET application (ASP.NET)? A sample would be great.

推荐答案

我相信问题是指 IMS开放数据库,它是一种允许使用DRDA协议从分布式系统访问IMS的IBM技术。它确实允许对IMS进行JDBC类型访问(有些智能将SQL调用转换为适当的DLI调用,并且有一些限制,因为事实上IMS是一个分层数据库)。我不知道是否有一个驱动程序的.NET(如果你打算使用SQL需要驱动程序),但你可以使用自由的 IMS Explorer

I believe the question is referring to the IMS Open Database, which is an IBM technology that allows access to IMS from distributed systems using the DRDA protocol. It does indeed allow JDBC-type access to IMS (with some smarts to convert the SQL calls to the appropriate DLI calls, and with some limitations, because, indeed, IMS is an hierarchical database). I don't know if there is a driver for .NET (and you need the driver if you intend to use SQL), but you can certainly experiment with it easily enough using the free IMS Explorer.

但是,您的IMS环境需要运行IMS V11 +,在任何操作都可以正常工作之前,为开放式数据库配置CSL,ODBM和IMS Connect(您需要您的IMS管理员为您设置)。我在回复开始时链接到的红皮书提供了更多详细信息。

However, your IMS environment needs to be running IMS V11+, with CSL, ODBM, and IMS Connect configured for Open Database before any of this can work (and you need your IMS administrator to set that up for you). The Redbook I linked to in the beginning of my reply provides more details.

这篇关于从.Net应用程序或使用JDBC ..连接到IMS与开放数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆