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 ( #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
Node Status?
node history
Node Type: note [id://1078640]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2021-02-26 16:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?