Quantcast
Channel: All AppDynamics Discussions posts
Viewing all articles
Browse latest Browse all 1667

Re: db Agent throws SqlSyntaxErrorException

$
0
0

siegfried, sorry for the late response. is it possible that you(the DBAgent_User) doen't have EXECUTE permissions on MON_GET_DATABASE? That DB2 provided (built-in) routine should work in 10.1.x as well, as far as I can tell. 

See http://www.ibm.com/support/knowledgecenter/SSEPGG_10.5.0/com.ibm.db2.luw.sql.rtn.doc/doc/r0060769.html

 

To confirm this is only a Permissions / Privilege issue and that the routine itself does exist, you can run the following (as DB2 admin)

select funcname from syscat.functions where funcschema='SYSPROC'

 

If that lists MON_GET_DATABASE, then we can conclude that the missing permissions for your user is the likely cause of the failure.. Hope that helps


Viewing all articles
Browse latest Browse all 1667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>