An SQL database structure using a certain Database-ID (DBID) needs to be cloned .
The cloned database needs to have the same database structure but a new DBID.
This article gives some ways to create that cloned database.
Datacom
In some cases the DDUPDATE 1000 MODEL transaction can be used .
See the online documentation here :Creating a Replica Database Accessible by SQL
Note that if the table has been created via an SQL CREATE TABLE statement in the past then add the new database and area entities and run CREATE TABLE ... IN new area name DATACOM NAME name (same three-character Datacom table name that is used in the source database). DDTRSLM EXPORT TABLE can be run to see the CREATE TABLE statement cards to CREATE the cloned table.
Note that DBUTLTY functions CXXCLONE and CXXMAINT OPTION=DDPROD,NEWDBID= cannot be used to clone an SQL Database. For an SQL database the DDD-DATABASE needs to be populated and that only happens during a database catalog process.