sponsored links

Collapse

Announcement

Collapse
No announcement yet.

DB2 Remote Connect

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • DB2 Remote Connect

    Hello, we have to AS/400's. Call them 400A & 400B. How would I go about connecting to the DB2 database on 400A from a program that's running on 400B? We are using Zend/PHP/Apache as our programming language. Each server has Zend installed.

    Currently we use db2_connect() to access the DB2 database when running a program on each local machine but I am not sure how to access the database remotely from one system to the other.

    I appreciate any insight. Thanks.

  • #2
    Looks like HOSTNAME=hostname in your db2_connect statement should do it, assuming there's a connection between the systems.

    Cheers,

    Emmanuel

    Comment


    • #3
      DB@ access is fine (ie read/update DB2 files via SQL) however I am struggling to get program calls via the toolkit to a different lpar, that does not seem to work and the Zend forums are useless, 3 months of asking that same question and I am STILL waiting for someone to moderate any of my posts so they appear ... Mike Pavlak - you still on here, help a brother out will ya?
      Greg Craill: "Life's hard - Get a helmet !!"

      Comment

      sponsored links

      Collapse

      Working...
      X