Hi!
 
I am a beginner in SAPDB. I need to access SAPDB from PowerBuilder 6.5 via ODBC. I have problems when I try to call a dbproc.
 
I have this simple procedure:
 
    create dbproc g(in h real, out f real) as
        set f = 5;
 
from PowerScript I try to call it this way:
 
    double p, r;
    prepare sqlsa from "call g(?, ?)";
    execute sqlsa using :p. :r;
 
The error message is: Value expression must be parameter name (-8005). If there is no "out" or "inout" parameters, it works.
 
If somebody knows where I do wrong, please write me!
 
        Thanks:    Attila Kenez

Reply via email to