Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: DB2 error: "Can't bind unknown parameter marker ':p4'"

by runrig (Abbot)
on Jan 19, 2013 at 17:15 UTC ( #1014214=note: print w/ replies, xml ) Need Help??


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.


Comment on Re: DB2 error: "Can't bind unknown parameter marker ':p4'"
Download Code
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!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1014214]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2015-07-06 10:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (71 votes), past polls