If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Calling RPG Programs from Linux/PHP

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-20-09, 05:47
michael83 michael83 is offline
Registered User
 
Join Date: Oct 2009
Posts: 2
Calling RPG Programs from Linux/PHP

Hello,

im currently developing a SOAP-Interface (in PHP) to provide a service for getting data from a as400. For this goal we have to retrieve data via 2 different ways:

- SQL-based
- RPG-based

The sql-based way for getting data is no problem. Here i will connect to the db2 database and execute a query. But the RPG-based way will be a small challange.

I`m not very familiar with RPG, but i think its a classic executable program. The basic goal is, that i can call a RPG-programm from my SOAP-PHP-Interface (Linux). I googled a bit and found this post:

calling an rpg program with PHP

But it seems that the i5-php-toolkit is only available for the iSeries, isnt it?

In case its only available for iSeries Zend Core, does anyone has an idea how to call it from linux-php? Maybe there is a another good way (i`ve read about stored procedures) to call it.

thanks in advance

Michael
Reply With Quote
  #2 (permalink)  
Old 10-27-09, 11:03
michael83 michael83 is offline
Registered User
 
Join Date: Oct 2009
Posts: 2
Howdy,

has anyone any hint for me?

greetz
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On