Contact Us
 
More Info
 

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.                                             

The CLNRPG command has two different actions. The first action called *INSPECT will generate a report of unused definitions and logic in the program, but will not remove any source code. The second action called *CLEAN will generate a report and will additionally remove the unused definitions and logic from the source code. The removed definitions and logic will be placed into another source file (Recycle Bin) for backup purposes.
The CLNRPG command can be run from a command line, PDM or WDSc (WebSphere Development Studio client).
                         Clean RPG Source (CLNRPG)               
                                                                 
Type choices, press Enter.                                         
                                                                   
File . . . . . . . . . . . . . .   QRPGLESRC    Name             
 Library . . . . . . . . . . .     *LIBL        Name,*LIBL
Member . . . . . . . . . . . . .                Name
Find unused Work fields  . . . .   *YES         *NO, *YES         
Find unused Prototypes . . . . .   *YES         *NO, *YES         
Find unused KLISTs . . . . . . .   *YES         *NO, *YES         
Find unused PLISTs . . . . . . .   *YES         *NO, *YES         
Find unused Subroutines  . . . .   *YES         *NO, *YES         
Find unused TAGs . . . . . . . .   *YES         *NO, *YES         
Find unused preceding Comments .   *YES         *NO, *YES    
Action to perform  . . . . . . .   *CLEAN       *CLEAN, *INSPECT  
Recycle Bin file . . . . . . . .   QRECYCLE     Name, QRECYCLE
 Library . . . . . . . . . . . .     *SRCLIB    Name, *SRCLIB
Recycle Bin member . . . . . . .   *SRCMBR      Name, *SRCMBR
Replace existing member  . . . .   *NO          *NO, *YES         
 
1.800.949.4696  |  sales@linomasoftware.com  |  privacy policy
Copyright ©1994 - 2012 Linoma Software  |  All rights reserved