|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
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.
|
|
#3
|
||||
|
||||
|
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.
__________________
Give a person code, and they'll hack for a day; Teach them how to code, and they'll hack forever. Analyze twice; hack once. The world's first existential ITIL question: If a change is released into production without a ticket to track it, was it actually released? About DrGroove: ITIL-Certified IT Process Engineer - Enterprise Application Architect - Freelance IT Journalist - Devshed Moderator - Funk Bassist Extraordinaire |
|
#4
|
|||
|
|||
|
Quote:
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 |
|
#5
|
||||
|
||||
|
Quote:
Hope it works out for you. |
|
#6
|
||||
|
||||
|
Quote:
Hope it works out for you. |
![]() |
| Viewing: Dev Shed Forums > Databases > DB2 Development > Inserting into remote DB2 database |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|