Difference between RPG400 & RPGLE?

5 pts.
Tags:
RPG/400
RPGLE
What is the difference between RPG400 & RPGILE?

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

There are a lot of differences between the 2 versions of RPG, here are a few examples :-

RPGILE runs in the ILE (Integrated Language Environment) instead of the OPM (Original Program Model) environment.
RPGILE supports longer file/field names, also prefixes for field names.
RPGILE supports BIFs (Built In Functions).
RPGILE allows use of service programs and modules.
RPGILE allows free format RPG code.
RPGILE has enhanced support for use of other languages such as ILE/C.

The list goes on and on, maybe someone has some nice links to an overview of the differences.

Regards,

Martin Gilbert.

———————————————————

In addition to what Martin said:

RPG400 is based on RPG III and RPGLE relies on RPG IV wich offers those features metioned above.

RPG IV and ILE is not exactly the same. You can be programming in RPG IV by using all those features like Built-in Functions, free format, longer names, prefix for field names, qualified data structures, and still the environment is OPM not ILE.

ILE Means static call, the programs get all information about the called program at compile time. It’s the binding process. Then, at run time the call is more efficient than the old method of dynamic call used by OPM. OPM runs in the Default Activation Group and ILE programs in a different one that could be *New, QILE (generic Activation Group for ILE), or whatever the name you want.

Activation Groups are sub-environment within a job.

————————————————
As usual we don’t know enough about why the question was asked.

RPG/400 is a mature product.
All RPG/400 programs will run on a current 400, they can be edited an maintained as RPG/400, edited, and compiled. The language works and will continue to work.

RPG/400 code can be converted to RPG IV code with a single command.
Today, RPG IV code can be written in two formats, fixed column based format which is like RPG/400 and a free format layout. Since it’s inception RPG IV has had the addition of a lot of new features. Some RPG/400 code cannot be translated into Free format but free and fixed format code can exist in a single file.

As described above, RPG IV provides ILE capabilities which allow it to use prototyped calls, objects built from multiple modules and service programs.
Phil L

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Titan
    [...] of the recent questions over at IT Knowledge Exchange and found a great little discussion about the difference between RPG400 and RPGLE. The comments entered into the answer wiki explain a lot about the differences, and it’s a [...]
    0 pointsBadges:
    report
  • Raven23
    hello I want to prepare a meal with 400 rpg list program. Are you or help files for the sample program
    10 pointsBadges:
    report
  • philpl1jb
    Please start a new question .. Meal ??? Probably Menu. On the AS/400 but do you mean that the menu must be created in RPG or can you use a more typical AS/400 menu. And if RPG why not RPGLE? Phil
    50,205 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following