CRITICAL
Rule Definition
REORDER is one of the optimization options that are specified for a procedure or begin-block. The REORDER option allows the compiler to generate optimized code to produce the result specified by the source program when error-free execution takes place
Remediation
Always use the REORDER option for the procedures.
Violation Code Sample
PROC CASTOPTIONS(MAIN) (TEST1,TEST2,TEST3);
Fixed Code Sample
PROC CASTOPTIONS(MAIN) (TEST1,TEST2,TEST3) REORDER;
Related Technologies
Technical Criterion
Efficiency - Memory, Network and Disk Space Management
About CAST Appmarq
CAST Appmarq is by far the biggest repository of data about real IT systems. It's built on thousands of analyzed applications, made of 35 different technologies, by over 300 business organizations across major verticals. It provides IT Leaders with factual key analytics to let them know if their applications are on track.