Optimizing program objects can significantly improve performance. Use the i OS commands, Create COBOL or RPG Program (CRTCBLPGM or CRTRPGPGM) and Change Program (CHGPGM), as follows:
CRTxxxPGM PGM(library-name/program-name) + SRCFILE (library-name/source-file-name) + GENOPT(*OPTIMIZE)
Note: This is done by altering the parameters on the command in the *Messages file.
CHGPGM PGM(library-name/program-name) + OPTIMIZE(*YES)
For more information on the create commands and optimization parameters, see Application System/400 Programming: Control Language Reference.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |