Optimize the performance of your code containing loops by using -qassert
ChristineLi 2700064EHM Visits (1470)
If your code contains a large number of loops, you can use option -qas
n1 and n2 must be positive integers. If you specify the two suboptions at the same time, the values must follow the rule minitercnt <= itercnt <= maxitercnt. Otherwise, messages are issued to indicate that the values are inconsistent and the inconsistent value is ignored.
You can also use the ASSERT directive which can overrides the -qassert compiler option for the DO loop on which the ASSERT directive is specified.
For detailed information, see -qassert.