Using the command line
You can use the command line to send predefined commands to the application server. Use of the command line is intended as an alternate method of performing some of the functions using the Infor SAT application.
You can complete these tasks using the command line:
- Start the specified server.
- Stop a specified server.
- Start the client server.
- Start or stop a background process.
The table lists the variables for the command line interface arguments:
Argument | Description |
---|---|
host port |
The name or IP address of the host system where the application server is located and the TCP/IP port on which the application server is listening. The value is a concatenation of the host name and the port number with a colon (:) as the delimiter. For example, the value for an Application Server running on a host machine named terra and listening on port 7001 is terra:7001. |
command |
An indicator of the command sent to the Application Server. These commands are sent to the application server:
|
parameters |
The parameters for the background process command. Only the background process command uses these parameters. The parameters include the command implemented by the background process handler and the parameters required by the command. These background process handler commands are available:
The application server reads the parameters as data and the parameters are moved to the background process handler. |
This is an example of the command in the batch file that reloads the user and corporate data cache of all the servers.
jre -classpath classpath largesoft.db.CmdInterface
t3://terra:7001 -s
The classpath must be similar to the classpath of the client and the Infor SAT startup batch files or shell scripts.