First, you might need to decide what “percentage” you want to see when (t02.pvsddl=0).

One fairly common change to your formula might be something like {(t01.amtdol/(t02.pvsddl+.00001))*100 }. Depending on how many fractional positions you are calculating to, you might use {.001}, {.0000001} or other values to adjust. Rounding can sometimes remove the effect of such an adjustment.

How you handle the zero value can depend on which product you are using. Easiest product would probably be Query Manager. Worst is probably trying to use Query for iSeries (or Query/400).