It is a run-time error.
1.  Check the error message.  What is the error message?
2.  Add one line in your procedure just before the function to print the values of the parameters.
3.  Run the function with the parameter.  Debug it. 

解决方案 »

  1.   

    没有ERR MESSAGE ,它只在监视框里表示进入不明程序单位.全部编译是通过的.2 3条看不懂
      

  2.   

    one suggestion:  run your procedure in SQL Plus.  Then you will get some error message.
      

  3.   

    真的没有得到编译错误.在SQL PLUS中也一样
      

  4.   

    so if you run your prog in SQL Plus, you get nothing feedback?  Please let me know if you get any message. 
    (before you run the program, make sure "set feedback on" for your sql plus environment).
      

  5.   

    the step in information is unknow programme unit line
      

  6.   

    the step in compiling information is "unknow programme unit line"