Fill in the following worksheet to help you evaluate the performance of your program. If you answer yes to each question, you are probably improving the performance.
In thinking about the performance tradeoff, be sure you understand the function of each option as well as the performance advantages and disadvantages. You might prefer function over increased performance in many instances.
| Compiler option | Consideration | Yes? |
|---|---|---|
| AWO | Do you use the AWO option when possible? | |
| DATA | When you use QSAM striped data sets, do you use the RENT and DATA(31) options? Is the load module AMODE 31? Are you running with ALL31(ON)? | |
| DYNAM | Can you use NODYNAM? Consider the performance tradeoffs. | |
| FASTSRT | When you use direct work files for the sort work files, did you use the FASTSRT option? | |
| NUMPROC | Do you use NUMPROC(PFD) when possible? | |
| OPTIMIZE | Do you use OPTIMIZE for production runs? Can you use OPTIMIZE(FULL)? | |
| RENT | Consider the performance tradeoffs of RENT versus NORENT. | |
| RMODE(ANY) | Do you use RMODE(ANY) with your NORENT programs? Consider the performance tradeoffs with storage usage. | |
| SSRANGE | Do you use NOSSRANGE for production runs? | |
| TEST | Do you use NOTEST, TEST(NOHOOK), or TEST(NOHOOK,SEP) for production runs? | |
| TRUNC | Do you use TRUNC(OPT) when possible? |
related concepts
Storage and its addressability
related tasks
Choosing compiler features to enhance performance
related references
Performance-related compiler options