There are two built in operation codes in RPG IV, as of V5R4. These are supported in either fixed or free form.
And here’s a similar question with some additional information: Looking for good AS/400/RPG-XML translator software package.
Some of the tools are also freely available for download. Scott Klement has some very good ones.
Register Hereor login if you are already a member