title: ora-06550 call to a procedure
body: <p>My code is not entering the begin for my procedure call according to the error I am seeing and indicates a possible error with one of the parameters I am passing in:</p>
  
  <pre><code>PROCEDURE PRICING_SPLIT
  (P_PRICING_PERIOD IN p.pricing_period_code%TYPE,     --say, which is how I’ve tried to correct for this, but no joy.
  P_RETURN_CODE OUT VARCHAR2
    ) IS
  
    BEGIN
  </code></pre>
  
  <p>Instead of:</p>
  
  <pre><code>PROCEDURE PRICING_SPLIT
  (P_PRICING_CODE IN NUMBER,
    P_RETURN_CODE OUT VARCHAR2
    ) IS
  
    BEGIN
  </code></pre>
  
  <p>I also have my code in vb.net:</p>
  
  <pre><code>    Dim dbConn As New OleDbConnection
      Dim dbComm As OleDbCommand
  
      dbConn.ConnectionString = "Provider = MSDAORA;User ID = xxxx;Password = xxxx;Data Source = myDatabase;"
      dbConn.Open()
      dbComm = dbConn.CreateCommand
  
      dbComm.Parameters.Add("pricing_period", OleDbType.Numeric, 4).Direction = ParameterDirection.Input
      dbComm.Parameters.Add("return_code", OleDbType.VarChar, 2).Direction = ParameterDirection.Output
  
      dbComm.CommandText = "enq_pricing.pricing_split"
      dbComm.CommandType = CommandType.StoredProcedure
      dbComm.ExecuteNonQuery()
      dbConn.Close()
  
      MessageBox.Show(dbComm.Parameters("temp").Value)
  </code></pre>
  
  <p>Any suggestions what I might be missing, most gratefully received.</p>