Clean RPG Source
The Clean RPG Source (CLNRPG) command will find, and optionally remove, unused definitions and logic found within RPG IV (RPGLE or SQLRPGLE) source code. CLNRPG can be configured to find unused stand-alone work fields, subroutines, prototypes, key lists, parameter lists and tags.
By removing unused definitions and logic from your RPG programs, these programs will compile faster and run more efficiently. The programs will also be easier to maintain and test since programmers will not have to work with unused source code.