title: Null error when dividing, but numerator and denominator runs fine when spilt up
body: <p>This one probably has a really obvious answer but I cannot figure out why its erroring out:</p>
  <pre><code>(sum(case when N.DOS_DURATION &lt;= 3 then N.NURA_Claims else 0 end)/sum(case when N.DOS_DURATION &lt;= 3 then N.SRD_Prem else 0 end)) as NURA_MBR_Q1
  
  ERROR [2:1]:(SQLSTATE: 42911, SQLCODE: -419): DB2 SQL Error: SQLCODE=-419, SQLSTATE=42911, SQLERRMC=null, DRIVER=4.25.13
  ERROR [2:1]:(SQLSTATE: 56098, SQLCODE: -727): DB2 SQL Error: SQLCODE=-727, SQLSTATE=56098, SQLERRMC=2;-419;42911;, DRIVER=4.25.13
  </code></pre>
  <p>However, splitting up the numerator and denominator runs fine, and there’s no null or 0 values.</p>
  <pre><code>sum(case when N.DOS_DURATION &lt;= 3 then N.NURA_Claims else 0 end) as Claims, 
  sum(case when N.DOS_DURATION &lt;= 3 then N.SRD_Prem else 0 end) as Premiums
  </code></pre>
  <p>I’m stumped! Any suggestions?
  <a href="https://i.stack.imgur.com/Lq67W.jpg" rel="nofollow noreferrer">numerator and denominator output</a></p>