Runtime administration commands can be accessed using the admin.exe command line utility. This utility is provided with Agile Business Suite Runtime and is located in the Runtime installation directory. The admin.exe command line utility allows you to invoke the same colon commands that you can invoke via a client interface. The syntax is:
admin.exe <system name>
A valid system name must be passed to the utility as a parameter, before it can be used.
For example, to pass the SAMPLE system to the utility:
C:\Program Files\Unisys\AB Suite 7.0\Bin64 >admin.exe SAMPLE
Connected to SAMPLE
Typing help at the colon prompt displays the commands available in the admin utility.
Once connected, the command prompt changes to a colon. The syntax and parameters for these commands are as listed in the Using Administration Commands section. The user invoking the utility must have the appropriate privileges for the command to be successful.
The following commands can be used through scripts. The description is as given below:
Enable
Use this command to enable the system.
Administration command
:Enable
This utility can even be invoked through scripts.
Command
Admin.exe <systemname> /c "ENABLE"
When an application is enabled, it is running and available to users.
Disable
Use this command to disable the system.
Administration command
:Disable
Command
Admin.exe <systemname> /c "Disable"
When an application is disabled, it cannot take input from user workstations or clients, and cannot run reports. To enable or disable an application, right-click on the Application and select Enable or Disable. This can be done while the application is running or stopped.
Note: Applications can also be enabled or disabled using the Component Services snap-in.
For the other Commands like WHO, HUB, STO, etc., we can use scripts to log the output as:
Admin.exe <systemname> /c "WHO" > "C:\filename.txt"
For the STO DISABLE command, use the following syntax:
Admin.exe SAMPLE "STO DISABLE"