The Compare & Set Delete can be executed in a batch or command file. The command is:
AutoCompareForDelete=CommandFile.txt
Where the command file is an exiting text file that has the following definitions:
SQLScriptName=Name of DMS SQL Script
The DMS SQL script must already be defined.
An example of a complete auto execute command line would be:
"UserIniFolder=C:\Dynafact\Production\DMS\User\" "AutoUserName=DMS" "DatabaseName=DMSProduction" " AutoCompareForDelete =C:\Dynafact\CompareForDelete.txt" AutoLogOut
The above command line would:
Note that any command line parameter that has spaces needs to be surrounded in double quotation marks.
The command file has one parameter and that is SQLScriptName. Command files do not use quotation marks around parameters. An example of the parameter is given below where the SQL scrip to run is Compare To Host:
SQLScriptName=Compare To Host