http://www.perlmonks.org?node_id=1014214


in reply to DB2 error: "Can't bind unknown parameter marker ':p4'"

AnonyMonk above has it right...you have 3 ?'s, and 4 binds. If you are trying to get the return value from the stored procedure, try using the $sth->{db2_call_return} attribute.

Replies are listed 'Best First'.
Re^2: DB2 error: "Can't bind unknown parameter marker ':p4'"
by shanknbake (Initiate) on Jan 22, 2013 at 02:33 UTC
    $sth->{db2_call_return}; is EXACTLY the thing I've been missing!!! Thank you so much! I've not ONCE seen an example where someone uses that! TYVM!