Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: How to disable SQL Warning in DBI.pm

by runrig (Abbot)
on Mar 17, 2014 at 17:48 UTC ( [id://1078640]=note: print w/replies, xml ) Need Help??


in reply to How to disable SQL Warning in DBI.pm

Googling found this:
Informational Warnings. Does that help?

Summary is to add to the db2cli.ini file:

[COMMON] IgnoreWarnList="'01504'"

Replies are listed 'Best First'.
Re^2: How to disable SQL Warning in DBI.pm
by joperocho (Initiate) on Mar 17, 2014 at 18:08 UTC
    Unfortunately, specifying / trapping the code is a fix, but not the solution I'm looking for. I want to suppress all warning message from being printed in errstr.
      The docs list a connection attribute "db2_quiet_mode". Does that do anything?

      If PrintWarn doesn't work though, I'd report that as a bug.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2024-03-28 10:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found