60 pts.
 Difference between converting rpg/400 pgm to rpgile
i have some 30 pgms in rpg/400 and a service program which i want to change this to rpgile and i have access of service program also. then what is the difference between this pgm now

Software/Hardware used:
rpg and rpgile/os400
ASKED: August 27, 2010  7:22 AM
UPDATED: August 27, 2010  7:28 PM

Answer Wiki:
Last Wiki Answer Submitted:  Be the first to answer this question.
All Answer Wiki Contributors:  Be the first to answer this question.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

First, a service program written in RPG must already be ILE RPG (which is created with the RPG IV language compiler). You can’t create a service program with OPM RPG (which is RPG/400 which uses the RPG III language).

For programs that need to call into the service program, you can use the CVTRPGSRC (Convert RPG Source) command to convert the RPG III source format into RPG IV source format. You should have a new source file created in order to receive the converted source. IBM’s standard name is QRPGLESRC. The CVTRPGSRC help text provides information about how to create the new source file.

Once converted, the new source member will a member type of RPGLE.

Tom

 110,175 pts.