RPG Ports from AS/400 to Linux?
Spacemonkey
asks: "So, IBM has finally ported Linux to run on their veritable plethora of hardware. Sounds like a real solid commitment to OSS, right? Well, the devil's in the details, however. After spending several hours searching on the Internet, I could not find one single implementation of the RPG ? environment on Linux. So IBM really wants to run Linux on their machines, but what if you want to run your AS/400 applications within the Linux space instead of OS400?"
"So now come the other questions, fast and furious:
- Is it possible to run the RPG environment within Linux?
- Can it be done on x86 hardware?
- Are there any legal restrictions on doing the port?
- If it has been done, where's the beef?
Where do you find this Perl of Wisdom? A link, or even a name might be of assistance.
"Flyin' in just a sweet place,
Never been known to fail..."
I believe you could do it with a perl or some such script, best with java :-) The runtime environment has equivalents under linux. LDA etc can be simply implemented. DB2 is available under Linux, any RDBMS would work.
:-) OS/400 has other shells as well.
In fact the database port would probably be easiest using java/jdbc, I would imagine you could write the code to do this within a week.
On the shell front, I think it would be a neat but pointless thing to port QCMD to Linux, instead of starting bash you would start QCMD