Click here to Skip to main content
16,016,140 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 Rossel10hrs 46mins ago
professionalSander Rossel10hrs 46mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
Rage10hrs 10mins ago
professionalRage10hrs 10mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
Sander Rossel9hrs 57mins ago
professionalSander Rossel9hrs 57mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
Richard Andrew x6413hrs 13mins ago
professionalRichard Andrew x6413hrs 13mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
trønderen8hrs 17mins ago
trønderen8hrs 17mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
Richard Andrew x647hrs 42mins ago
professionalRichard Andrew x647hrs 42mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
trønderen6hrs 24mins ago
trønderen6hrs 24mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
Vivi Chellappa2hrs 9mins ago
professionalVivi Chellappa2hrs 9mins 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 1hr 5mins ago.

GeneralRe: Anyone still know IBM RPG? Pin
Maximilien12hrs 51mins ago
Maximilien12hrs 51mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
Nelek11hrs 13mins ago
protectorNelek11hrs 13mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
Gary Wheeler9hrs 5mins ago
Gary Wheeler9hrs 5mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
Nelek8hrs 49mins ago
protectorNelek8hrs 49mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
Sander Rossel10hrs 46mins ago
professionalSander Rossel10hrs 46mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
Stefan de Zeeuw10hrs 29mins ago
professionalStefan de Zeeuw10hrs 29mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
rnbergren12hrs 26mins ago
rnbergren12hrs 26mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
Sander Rossel10hrs 44mins ago
professionalSander Rossel10hrs 44mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
Kschuler11hrs 45mins ago
Kschuler11hrs 45mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
Sander Rossel9hrs 56mins ago
professionalSander Rossel9hrs 56mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
Vivi Chellappa1 hr 4mins ago
professionalVivi Chellappa1 hr 4mins ago 
JokeRe: Anyone still know IBM RPG? Pin
Jeremy Falcon7hrs 38mins ago
professionalJeremy Falcon7hrs 38mins ago 
GeneralRe: Anyone still know IBM RPG? Pin
Mycroft Holmes2hrs 56mins ago
professionalMycroft Holmes2hrs 56mins ago 
GeneralWhose setting the CCC today Pin
pkfox17hrs 34mins ago
professionalpkfox17hrs 34mins ago 
GeneralRe: Whose setting the CCC today Pin
Pete O'Hanlon15hrs 31mins ago
mvePete O'Hanlon15hrs 31mins ago 
GeneralRe: Whose setting the CCC today Pin
pkfox15hrs 10mins ago
professionalpkfox15hrs 10mins ago 
GeneralRe: Whose setting the CCC today Pin
OriginalGriff13hrs 16mins ago
mveOriginalGriff13hrs 16mins 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.