Solved

What is RPG, Lansa?

Posted on 2000-04-04
10
1,193 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Check file/object size on AS400 3 166
DB2 iSeries Date comparison w/ sysibm.sysdummy1 18 81
adodb sql multi tables 1 999
Secure coding guides/standards for Cobol programming 10 249
Large Outlook files lead to various unwanted errors and corruption issues. Furthermore, large outlook files can also make Outlook take longer to start-up, search, navigate, and shut-down. So, In this article, i will discuss a method to make your Out…
In 2017, ransomware will become so virulent and widespread that if you aren’t a victim yourself, you will know someone who is.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …

919 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

17 Experts available now in Live!

Get 1:1 Help Now