RPG is the native language on the IBM as400 midrange server (aka iSeries, system i and now just “i”). In a recent project I had to find a way to call a number of RPG programs from a Java application. If you’re in this situation then there are a few options available.
- PCML (the subject of this article)
- SQL Stored procedure
- Integrated web services server (IWS)
One possibility is to write a SQL stored procedure using RPG which could be called from Java using JDBC. This option may not be viable depending on the parameters your program needs. A stored procedure is good for returning result sets of records but you can only return one and you can’t pass one in.
Integrated web services server (IWS)
If you want to quickly expose an RPG program as a web service then you might want to look at IWS…
View original post 999 altre parole