Solved

What is RPG, Lansa?

Posted on 2000-04-04
10
1,176 Views
Last Modified: 2008-02-20
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
Comment
Question by:atti75
10 Comments
 

Expert Comment

by:chansek
ID: 2686036
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
 

Expert Comment

by:TGB
ID: 2686935
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
 
LVL 3

Expert Comment

by:P_S_Price
ID: 2688298
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
 

Author Comment

by:atti75
ID: 2706965
Thanks for all these answers!
0
 
LVL 3

Expert Comment

by:P_S_Price
ID: 2726720
WHo gets the points then?
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:atti75
ID: 2729485
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
 
LVL 3

Accepted Solution

by:
P_S_Price earned 100 total points
ID: 2734659
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
 
LVL 3

Expert Comment

by:P_S_Price
ID: 2734689
Sorry Ommitted Web Site address for ATS RPG Course :-

http://800ibmuser.com/train/dsfolder/arp1ds.htm
0
 

Author Comment

by:atti75
ID: 2734837
Many Thanks P_S_Price!
For me this was an excellent answer...

Bye!
0
 

Expert Comment

by:sharangs042000
ID: 2913674
The information I got was really cool.
Thanks to P_S_Price!
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Moving applications to the cloud or switching services to cloud-based ones, is a stressful job.  Here's how you can make it easier.
What is Backup? Backup software creates one or more copies of the data on your digital devices in case your original data is lost or damaged. Different backup solutions protect different kinds of data and different combinations of devices. For e…
This video discusses moving either the default database or any database to a new volume.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now