Click here to Skip to main content
16,016,184 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Anyone still know IBM RPG? Pin
Sander Rossel12hrs 41mins ago
professionalSander Rossel12hrs 41mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
Rage12hrs 5mins ago
professionalRage12hrs 5mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
Sander Rossel11hrs 52mins ago
professionalSander Rossel11hrs 52mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
Richard Andrew x6415hrs 8mins ago
professionalRichard Andrew x6415hrs 8mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
trønderen10hrs 12mins ago
trønderen10hrs 12mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
Richard Andrew x649hrs 37mins ago
professionalRichard Andrew x649hrs 37mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
trønderen8hrs 19mins ago
trønderen8hrs 19mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
Vivi Chellappa4hrs 4mins ago
professionalVivi Chellappa4hrs 4mins ago 
RPG IV is a modernized version of the original RPG, Report Program Generator.

I managed an AS/400 installation. Never programmed it but figured out how the language was designed.

The predecessors to the AS/400 were the IBM System/3, System/32, and System/34 computers. These were built to replace the much earlier accounting machines that used punched cards for input. These machines were programmed using a plugboard with wires connecting the various holes in the plugboard. ENIAC, anyone?

You had fixed positions on the punched cards for various data (operands). These data were read by the accounting machine, and the wires in the plugboard got the electrical impulses representing these operands. Necessarily, they corresponded to the fixed fields on the punched cards where those operands are positioned. The operator representing the operation to be performed — such as addition, subtraction, multiplication and division or printing — would be wired on the plugboard. As the card reader read in the punched cards, much clanging of the relays happened and the simple calculations of the accounting machine were accomplished. The System/3 replaced the electromechanical relays with electronic switching systems and the plugboard and wires with the RPG language designed to mimic them.

Then IBM introduced the System/38, the true predecessor (in terms of processor architecture) to the AS/400. For backward compatibility, IBM allowed the original primitive plugboard (wired program) programs to run on the System/38 and the AS/400 by providing the RPG compiler on these machines.

Hundreds if not thousands of various accounting systems software could now run on the AS/400. You are talking about the computer introduced in 1989 (the AS/400) running programs written for a computer introduced in the very early 1960s (the System/3) which was emulating a 1930s accounting machine (IBM 304)! Entire MRP (Manufacuring Requirements Planning) systems, the predecessor to the ERP systems of today, were created on the System/38 in RPG II, as those machines were suitable price wise, for the medium scale businesses.

These programs run perfectly on the AS/400 and many software vendors saw no reason to migrate them to C or C++ or even COBOL on the AS/400.

One company, BCPL, decided to rewrite their MRP system in modern C for the AS/400. After spending $400 million on the rewrite, which was around their annual revenue, they failed and went bankrupt.

The moral of the story is: let sleeping dogs lie and don’t attempt to convert these programs. They are extremely well-written by an earlier generation of programmers who were passionate about their jobs and ensured that the systems met the requirements of the day.

Oh, the days have changed and we need to change with the times?

That is precisely what led to the stranglehold Oracle and SAP have on the ERP market today.

modified 3hrs ago.

GeneralRe: Anyone still know IBM RPG? Pin
Maximilien14hrs 46mins ago
Maximilien14hrs 46mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
Nelek13hrs 8mins ago
protectorNelek13hrs 8mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
Gary Wheeler11hrs ago
Gary Wheeler11hrs ago 
GeneralRe: Anyone still know IBM RPG? Pin
Nelek10hrs 44mins ago
protectorNelek10hrs 44mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
Sander Rossel12hrs 41mins ago
professionalSander Rossel12hrs 41mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
Stefan de Zeeuw12hrs 24mins ago
professionalStefan de Zeeuw12hrs 24mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
rnbergren14hrs 21mins ago
rnbergren14hrs 21mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
Sander Rossel12hrs 39mins ago
professionalSander Rossel12hrs 39mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
Kschuler13hrs 40mins ago
Kschuler13hrs 40mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
Sander Rossel11hrs 51mins ago
professionalSander Rossel11hrs 51mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
Vivi Chellappa2hrs 59mins ago
professionalVivi Chellappa2hrs 59mins ago 
JokeRe: Anyone still know IBM RPG? Pin
Jeremy Falcon9hrs 33mins ago
professionalJeremy Falcon9hrs 33mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
Mycroft Holmes4hrs 51mins ago
professionalMycroft Holmes4hrs 51mins ago 
GeneralWhose setting the CCC today Pin
pkfox19hrs 29mins ago
professionalpkfox19hrs 29mins ago 
GeneralRe: Whose setting the CCC today Pin
Pete O'Hanlon17hrs 26mins ago
mvePete O'Hanlon17hrs 26mins ago 
GeneralRe: Whose setting the CCC today Pin
pkfox17hrs 5mins ago
professionalpkfox17hrs 5mins ago 
GeneralRe: Whose setting the CCC today Pin
OriginalGriff15hrs 11mins ago
mveOriginalGriff15hrs 11mins ago 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.