Slashdot Mirror


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?
What good is running Linux on a cavalcade of hardware if you can't get to your 'native' applications? If I can get COBOL, then RPG should be just around the corner..."

2 of 38 comments (clear)

  1. Re:Yes it is possible by Jeremiah+Cornelius · · Score: 4, Interesting

    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..."
  2. Re:Yes it is possible by Usquebaugh · · Score: 2, Interesting

    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.

    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 :-) OS/400 has other shells as well.