title: How to handle error in ibm_db python package while calling stored procedure?
body: <p>I'm trying call stored procedure using following code</p>
  
  <p><code>conn = ibm_db.connect("database","username","password")
  sql = "CALL DB2INST1.KPI_VALIDATE()"
  stmt = ibm_db.exec_immediate(conn, sql)</code></p>
  
  <p>But this procedure does not return any rows &amp; It will only  return code. Now I need to handle error whether procedure run successfully or not. Could anyone help me how to handle this?</p>
  
  <p>Thanks</p>