DB2 Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDB2 Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 21st, 2003, 04:16 PM
tlush tlush is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: Newport, Rhode Island, USA
Posts: 15 tlush User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Inserting into remote DB2 database

We have data in a FreeBSD/PHP/MySQL system that we need to reformat and insert into a remote DB2 database on an AS400 mainframe whenever we make changes in the parent data set.

Can someone point me to sources that explain how we can connect to the remote system?

Thank you -- Tony

Reply With Quote
  #2  
Old August 21st, 2003, 04:30 PM
Onslaught's Avatar
Onslaught Onslaught is offline
/(bb|[^b]{2})/
Dev Shed God (5000 - 5499 posts)
 
Join Date: Nov 2001
Location: Somewhere in the great unknown
Posts: 5,162 Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 5 Days 22 h 45 m 20 sec
Reputation Power: 767
You are going to have to get some kind of db2 connection software that will allow you to connect to the db2 server on the AS/400. I believe there is a tool DB2 makes for this called DB2Connect, but it isn't cheap.

Reply With Quote
  #3  
Old August 21st, 2003, 09:58 PM
drgroove's Avatar
drgroove drgroove is offline
pushing envelopes, not pencils
Dev Shed God 2nd Plane (6000 - 6499 posts)
 
Join Date: Feb 2002
Location: Indy
Posts: 6,362 drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 2 Days 5 h 7 m 11 sec
Reputation Power: 613
I work with an AS400 at my job as well.

The system I setup was an XML interchange between our webserver and the AS400, which runs an app made by a company called Lansa.

Lansa makes several AS400 products - the two we use allow data from the AS400 to be output as either XML or HTML. Lansa also allows the AS400 developer to quickly develop (using a WYSIWYG editor) handlers that take GET or POST information, as well as output documents.

In this manner, by exchanging XML between PHP and Lansa on the AS400, we don't actually connect to the DB2 database on the 400, but are still able to transfer crucial data back and forth.
__________________
About DrGroove, Devshed Moderator: Happy Family Guy | Enterprise Application Architect & Developer | ITIL-Certified IT Process Engineer | Freelance IT Journalist | Multi-Instrumentalist & Composer

Reply With Quote
  #4  
Old August 22nd, 2003, 10:15 AM
tlush tlush is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: Newport, Rhode Island, USA
Posts: 15 tlush User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
The system I setup was an XML interchange between our webserver and the AS400, which runs an app made by a company called Lansa.


That's interesting. The system we need to provide data to is a Lansa app. I'll contact that developer and see what his capabilities are. If he can handle the GET or POST end of things then I only need to have the data available for him

Thank you both -- Tony

Reply With Quote
  #5  
Old August 22nd, 2003, 12:18 PM
drgroove's Avatar
drgroove drgroove is offline
pushing envelopes, not pencils
Dev Shed God 2nd Plane (6000 - 6499 posts)
 
Join Date: Feb 2002
Location: Indy
Posts: 6,362 drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 2 Days 5 h 7 m 11 sec
Reputation Power: 613
Quote:
Originally posted by tlush
That's interesting. The system we need to provide data to is a Lansa app. I'll contact that developer and see what his capabilities are. If he can handle the GET or POST end of things then I only need to have the data available for him

Thank you both -- Tony


Hope it works out for you.

Reply With Quote
  #6  
Old August 22nd, 2003, 12:18 PM
drgroove's Avatar
drgroove drgroove is offline
pushing envelopes, not pencils
Dev Shed God 2nd Plane (6000 - 6499 posts)
 
Join Date: Feb 2002
Location: Indy
Posts: 6,362 drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level)drgroove User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 2 Days 5 h 7 m 11 sec
Reputation Power: 613
Quote:
Originally posted by tlush
That's interesting. The system we need to provide data to is a Lansa app. I'll contact that developer and see what his capabilities are. If he can handle the GET or POST end of things then I only need to have the data available for him

Thank you both -- Tony


Hope it works out for you.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDB2 Development > Inserting into remote DB2 database


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek