Here is a checklist helpful for migrating the Oracle database to the DB2 database. Read the below article for compatibility.
Checklist to migrate
DB2 supports NUMBER, VARCHAR2, and VARRAY of Oracle. Similarly, several Oracle proprietary SQL statements: such as CONNECT BY, ROWNUM, and more. DB2 also supports these.
Oracle’s date-and-time arithmetic functions, string-manipulation functions, and other functions DB2 also support. The same applies to packages, built-in packages, and SQL*PLus scripts.

Related
This is great article who wants to improve your skills in Oracle and DB2.
LikeLike