bindParms (DB2::Statement)

    # File lib/active_record/vendor/db2.rb, line 199
        def bindParms(parms)        # This is the real thing. It uses SQLBindParms
          1.upto(@numParms) do |i|  # parameter number starts from 1
            rc, dataType, parmSize, decimalDigits = SQLDescribeParam(@handle, i)
            check_rc(rc)
            if parms[i - 1].class == String
              value = parms[i - 1]
            else
              value = parms[i - 1].to_s
            end
            rc = SQLBindParameter(@handle, i, dataType, parmSize, decimalDigits, value)
            check_rc(rc)
          end
        end