DB2 offers many compatibility features that can be turned on individually based on your need. To enable all the compatibility features applicable to Oracle databases, set the registry variable DB2_COMPATIBILITY_VECTOR = ORA. You can then create an Oracle compatible database.
Follow the steps below to create a compatible database: