db_create Command: Example 
You only need a few DBMCLI commands to create a new database instance using the Database Manager CLI.
First create a new database instance and define the first user:
dbmcli db_create <database_name> <userid>,<password>
You can also use the following variations for this operation:
- If you have a choice between several versions of the database software, use the option
-R <inst_root> to specify your choice.
If you want to install a new database instance on a remote server, use the option -n <server_node>. You also need authorization for the operating system.
dbmcli -n <server_node> db_create <database_name> <userid>,<password> <os_user>,<password>
On UNIX platforms there is no difference between remote and local communication. Therefore authorization is always required. When you are creating a new database instance locally, you can avoid communication and therefore the authorization otherwise required by using the option -s:
dbmcli -s db_create
<database_name> <userid>,< password>
Use a DBMCLI script for the rest of the installation:
dbmcli -d <database_name> -u <userid>,<password> -i <script_file>
Example of a script:
param_startsession
param_init
param_put MAXUSERTASKS 5
param_checkall
param_commitsession
param_adddevspace 1 SYS sys_001 F
param_adddevspace 1 LOG LOG_001 F 2000
param_adddevspace 1 DATA DAT_001 F 10000
db_cold
util_connect
util_execute INIT CONFIG
util_activate <sysdba>,<password>
load_systab -ud <domain_password>
Obviously you will have to adjust the individual parameter values.