Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Programming Guide

Coding for better performance

DATA-directed input and output
Input-only parameters
GOTO statements
String assignments
Loop control variables
PACKAGEs versus nested PROCEDUREs
Example with nested procedures
Example with packaged procedures
REDUCIBLE Functions
DESCLOCATOR or DESCLIST
DEFINED versus UNION
Named constants versus static variables
Example with optimal code but no meaningful names
Example with meaningful names but not optimal code
Example with optimal code AND meaningful names
Avoiding calls to library routines
Preloading library routines

As you write code, there is generally more than one correct way to accomplish a given task. Many important factors influence the coding style you choose, including readability and maintainability. The following sections discuss choices that you can make while coding that potentially affect the performance of your program.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)