Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7937657
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T22:34:34+00:00 2026-06-03T22:34:34+00:00

I am having problem connecting to iSeries DB2 using IBM.Data.DB2.iSeries, but I can easily

  • 0

I am having problem connecting to iSeries DB2 using IBM.Data.DB2.iSeries, but I can easily
connect using System.Data.Odbc

Using System.Data.Odbc:

  1. I created System DSN –
    System: 10.33.15.3, DSN Name: mm370lib, Driver: iSeries Access ODBC Driver

  2. With C# Odbc connection string:
    “Dsn=mm370lib;Uid=myUsername;Pwd=myPassword;”

How do I make a connection using IBM.Data.DB2.iSeries?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T22:34:35+00:00Added an answer on June 3, 2026 at 10:34 pm

    Finally, I have successfully connect using “IBM Client Access OLE DB provider” with connection string format taken from http://www.connectionstrings.com/as-400#p60.

    Provider=IBMDA400;Data Source=MY_SYSTEM_NAME;User Id=myUsername;Password=myPassword;Default Collection=MY_LIBRARY;
    

    So my actual connection string using the parameters above is:

    Provider=IBMDA400;Data Source=10.33.15.3;User Id=ICTDEV;Password=******;Default Collection=mm370lib;
    

    I’ve been using this connection also in my PHP program using COM.

    Here is the code snippet:

    include('application/libraries/adodb5/adodb.inc.php');
    $this->db = ADONewConnection('ado');
    $dsn = "Provider=IBMDA400;Data Source=10.33.15.3;UserId=ICTDEV;Password=******;Default Collection=mm370lib;";
    $this->db->PConnect($dsn);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our application downloads data from the internet using RSS but is having connection problems
[Updated below] I am having a problem connecting to a MySQL database using a
I am having a problem with a website, connecting to a MySQL database using
I am having a problem connecting to the server hosting my webservice when I
When using the Apache HttpComponents HttpClient library (4.0.2) I'm having a problem where the
The problem I am having connecting a wcf client application to a host running
I'm having problems when connecting to a legacy database in SQL Server. The problem
Well, having a small problem. A 3rd party is connecting to our API, however
I'm a but unused to Mysqli, and I am having a problem with the
I am having a problem with connecting a click event to a dynamically added

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.