[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1462
  • Last Modified:

What is RPG, Lansa?

Hi!
May somebody tell me what RPG and Lansa are? (i found out that they are related to AS400) I need a short description of these, if it's possible.
...or some good links where I can find information about these.

Many Thanks!
0
atti75
Asked:
atti75
1 Solution
 
chansekCommented:
The RPG or RPG/400 programming language is designed to make it easier for AS400 programmer to create business software applications in AS400 environment.

LANSA is web based development tool for AS400 or AS400e environment.

You could visit www.ibm.com to find out more detail about RPG and LANSA. Just type the RPG or LANSA, the search machine will bring you there.
 

0
 
TGBCommented:
RPG comes in a few flavours - RPG400, RPG4, and RPGLE.
Most folks tend to develop in RPG4/LE these days, as the support for older RPG400 is lacking, and RPG4/LE is far easier to understand.
LANSA gives the 'Russian TV' appearance of RPG programs a GUI interface, and it looks a hell of a lot better!
0
 
P_S_PriceCommented:
LANSA however has also been around for a fairly long time and started its life as a 4GL Tool. on the S38. RPG also started out as a Report Generating Tool. Its earliest incarnations use a thing called the RPG cycle (Essentially basic report writing is read a record, print a record, read a record, print a record, ..... et al) and so RPG (Report Program Generator) used a cycle so that its users would not have to bother with the reading/writing elements but just define the input and output. This was fine for early machine but when the S3X units (predecessors to AS/400) came along that supported displays it needed to evolve. the latest implementation RPGLE has evolved to make better use of modularised code.
0
Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

 
atti75Author Commented:
Thanks for all these answers!
0
 
P_S_PriceCommented:
WHo gets the points then?
0
 
atti75Author Commented:
Hy!
you gave me many tehnical information but I am not familiar with any of them (4GL, S38, S3X)...I don't have a background in AS400 ...

I need some extra information:
what prog. language is RPG familiar with?
can I find an online  RPG introductory course?

0
 
P_S_PriceCommented:
RPG is a programming Language in its own right. It is not familiar with anything. The closest I have seen to it is Easitrieve on an IBM Mainframe. With RPG the format of each Code line is critical as is the sequence of specification types. Unlike COBOL where coding info has to be in sectn A or B but is relatively freeformat within those sections with RPG exact info has to be in exact character positions on the source line (eg Posn 6 must contain a specification type, posn 7 must contain a '*' if the line is a comment etc). The specification type defines which part of the program you are providing 'F' - File Specs, 'C' - Calc Specs. a bit like Divisions & sections in COBOL. as I mentioned before RPG is a cyclic language.

If you wrote the following in BASIC

Let A = 10
Print A

The code would execute once and your screen would show 10

A Similar code in RPG could be written as

        MOVEL'10'      A       2      
A       DSPLY                          

However if you did code this in the Cspec you would get a compilation warning which if you allowed to compile would Print

'DSPLY  10'

on your screen repeatedly over and over again. To cause the program to terminate you would have to add a termination instruction as follows :-

        SETON                     LR  

Further terms

4GL - Fourth Generation Language (Synon, Lansa, Genesis, I suppose access qualifies too after a fashion)

3GL - Third Generation Languages (COBOL, FORTRAN, RPG)

To Learn about RPG you need to attend a decent course. Every RPG programmer will probably be able to tell you about the 'Wonderful Learning Experience' that the ATS guided study courses provide. They are not brilliant but are sufficient to get you started.

S38 = IBM System/38 one of the predecessor machines to the AS/400

S3X refers to a family of Midrange Computers that IBM supplied years ago. HIstorically System/32, System/34, System/38, System/36

The AS/400 was supposed to bring together the System 38 & 36 architectures (but it was a Pants way of doing it). Effectively if you could program a S38 then you could program an AS/400.
0
 
P_S_PriceCommented:
Sorry Ommitted Web Site address for ATS RPG Course :-

http://800ibmuser.com/train/dsfolder/arp1ds.htm
0
 
atti75Author Commented:
Many Thanks P_S_Price!
For me this was an excellent answer...

Bye!
0
 
sharangs042000Commented:
The information I got was really cool.
Thanks to P_S_Price!
0

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now