Solved

What is RPG, Lansa?

Posted on 2000-04-04
10
1,259 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

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
 

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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Adults who share images on social media aren’t the only ones who need to worry about their privacy. Our culture’s tendency to share every move and celebration affects the privacy of our children, too.
This article discusses how to implement server side field validation and display customized error messages to the client.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

733 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