Not sure why you would want to do this. Where is the data for this program located? The database structure is much different going from a PC to a midrange system. Without knowing what the program is doing it may be more beneficial to write a web service to handle the task. The current RPG II code is most outdated anyways.