有什么方法可以在不使用ODBC的情况下与Visual Studio连接AS400系统(ISERIES)?

发布于 2025-01-23 01:48:14 字数 409 浏览 3 评论 0原文

我正在测试IBM.DATA.DB2,然后从IBM平台下载了LAS T FIX DLL。 i使用此句子:

myConnectionsTring =“ server = 0.0.0.0:000; database = limeralas400; uid = user; pwd = passwort; plocy; pool; pool = false;;

        Dim myConn As DB2Connection = New DB2Connection(myConnectionString)
        
        myConn.Open()

当我使用它时,它会等待很多时间,我不知道为什么我不返回任何东西。

这就是为什么我在不使用ODBC的情况下询问连接到AS400的其他方式的原因。

I am testing IBM.Data.DB2 and I download las t fix dll from IBM platform. I using this sentences:

myConnectionString = "Server=0.0.0.0:000;DATABASE=LIBRARYAS400;UID=USER;PWD=PASSWORD;Pooling=false;"

        Dim myConn As DB2Connection = New DB2Connection(myConnectionString)
        
        myConn.Open()

When i use this its waits a lot of time i dont know why i dont return anything.

Thats why i am asking about other way connecting to AS400 without using ODBC.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

遇到 2025-01-30 01:48:14

我为此写了一个图书馆。它使用iseries客户端的6.x版本。它的记录不佳,我不再使用它,但是当我编写它时,它被大量使用。 https://github.com/mikewills/mikewills/ibm-i-i-i-i-i--i------------------------------------inet-intterface < /a>。如果有的话,将其用于有效的示例。

I wrote a library for it. It uses the 6.x version of the iSeries client. It's not well documented and I don't use it anymore but it was heavily used when I wrote it. https://github.com/MikeWills/IBM-i-.NET-Interface. If anything, use it for examples of what worked.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文