A series of options can be transferred to the
Database Manager CLI (Database Manager CLI: SAP DB 7.3 ® Calling the Database Manager CLI ®For a link to be established with the database instance on the local computer, you must enter at least option
-d <database_name>. If you do not enter a command in the command line when calling the Database Manager CLI, an interactive Database Manager CLI session is opened.The following
dbmcli -u dbmmann,secret -d MK1
The Database Manager CLI is called and a database session is created for the DBM operator
dbmmann, password secret with the registered database instance MK1. You can then enter the required DBM server commands interactively.The name of the database instance on the local server should be transferred as an option. The database instance should be started.
dbmcli -d MK1
user_logon dbmmann,geheim
db_warm
exit
The Database Manager CLI is called and an interactive database session is created with registered database instance
MK1. Details on the DBM operator dbmmann, password secret are made via the interactively entered DBM server command user_logon. Database instance MK1 is started with DBM server command db_warm.The name of the database instance on the local server should be transferred as an option. The database instance should be started. This action should be carried out in the background.
Create file
startMK1 with the following contents:Execute the command in the background
The Database Manager CLI is called and an interactive database session is created with registered database instance
MK1. File startMK1 is processed.