Run the Automation Program

The automation program runs as a Java console program. The simplest way to run it is from a BAT file (Windows), or from a shell script (UNIX). See Sample Batch files and Shell scripts for samples that you can modify and use.

Notes:

On a windows client, automation files are installed in:
<SAS Install Directory>\SAS\SASProfitabilityManagementUtility\2.4\automation

On a UNIX server, automation files are installed in:
/<SAS Install Directory>/SAS/SASProfitabilityManagementUtility/2.4/automation

If you run the automation program from a .bat file or shell script, the .bat file or shell script should be in the same directory as the automation jar file.

If you run the automation program from the command line, your current directory should be directory containing the automation jar file.

The automation program takes the following required parameters:

-server specifies the full name or IP address of the metadata server.
-port specifies the port number of the metadata server (usually 8561).
-user specifies the Profitability Management user ID.
-password specifies the password for the user.
-config

specifies whether to create the database or update the database by the automation program:

  • -config dbcreate
  • -config dbupdate

Access the Log File

A log file, com.sas.profitability.client.automation.log, with details of the operation is written to the same directory in which the automation program, com.sas.solutions.profitability.client.automation.jar, is located.

The fact that the operation was performed, with a timestamp, is written to the audit log.