Can't help you with your primary question, but try using another If level to test for 0 to alleviate the overflow error.
Something like:
if (HHresp>0) then ......the rest of what you already have followed by another endif.
The overflow is being created by your denominator being equal to 0/null before HHresp has been given a value.