Array help needed

I want to write a line to a log file for each mountpoint that is above 75% disk space used.

I have written the following so far which doesn't take into account the checking for 75% yet but simply tries to write a line for every mountpoint into the logfile.

#!/bin/ksh
PERCENTAGES=`bdf | grep /var/opt/ixos/ | awk '{ print $4 }'`
MOUNTPOINTS=`bdf | grep /var/opt/ixos/ | awk '{ print $5 }'`

len=${#PERCENTAGES[*]}
echo "len=$len"
i=0
while [ $i -lt $len ]
do
echo "${MOUNTPOINTS[$i]} IS ${PERCENTAGES[$i]} FULL RIGHT NOW"
(( i=i+1 ))
done
exit 0

PERCENTAGES and MOUNTPOINTS seems to get populated properly but for some reason no matter what I try the len assignment line always wants to be 0.

Even when I hardcoded len=10 (which is the number of elements both arrays are actually assigned) the loop doesn't work as desired and instead seems to print out the contents of each whole array each time they're referenced in the loop.

Any help would be appreciated as I believe it's pretty close but I'm obviously missing something.

PERCENTAGES=`bdf | grep /var/opt/ixos/ | awk '{ printf("%s",  $4) }'` 

the newlines are terminating the array early.