This section describes how to run the mtb_admin utility directly from a UNIX or Windows command prompt. You can enter commands directly or include them in a script.
To run mtb_admin from an operating system command prompt
-
Open the command prompt, change to the directory that contains the mtb_admin.exe. (It is stored in the C:/Program Files/Trillium Software/MBSW/bin.)
-
Enter the following command on a single line:
mtb_admin -user userid -password password -metabase repository command
For example:
mtb_admin -user admin@xxx.abc-corp.com -passwordadmin -metabase _control jobs
-
Press Enter. This command starts the utility, logs the repository administrator onto the _control repository, and runs the command jobs as described in Command—jobs.
To run a script from the operating system command prompt
-
Create the script as a text file.
-
At the command prompt, change to the directory that contains the mtb_admin.exe. The utility is stored in the C:/Program Files/Trillium Software/MBSW/bin.
-
Enter the following command on a single line:
mtb_admin -user userid -password password -metabase repository -readfile path\script.txt
For example:
mtb_admin -user admin@xxx.abc-corp.com -passwordadmin -metabase _control -readfile c:\myscript.txt
-
Press Enter