Anomaly detection and root cause analysis of problems in Db2 for z/OS is complex. There are monitoring tools for Db2 that helps to determine when there are performance issues and provide great detail in helping the user to identify a root cause. But, the process can still be challenging for both, inexperienced and experienced DBAs. Db2 AI for z/OS (Db2ZAI) offers the ability to identify early symptoms of performance issues by leveraging machine learning to discover unusual performance events and provide a set of recommended actions to improve the situation. Even better, it provides a RESTful API to integrate this functionality into the above mentioned monitoring tools.