DMS Help
DMS Help

Auto Clear Selected Tables

 

 

The automatic clear selected tables enables you to clear out (delete) selected job tables in order to load in new jobs.  This command is the same as the manual command Clear Selected Tables

 

To execute the command, the command ClearSelectedTables is specified in the batch file. 

 

The following example shows how you can clear out the job tables in the database DMSDB and then import jobs via a predefined SQL script:

"C:\Dynafact\Production\DMS\DMSEnt.exe" "UserIniFolder=C:\Dynafact\Production\DMS\User\" "AutoUserName=DMS" " DataBaseName=DMSDB" "ClearSelectedTables" "AutoLogOut"

"C:\Dynafact\Production\DMS\DMSEnt.exe" "UserIniFolder=C:\Dynafact\Production\DMS\User\" "AutoUserName=DMS" " DataBaseName=DMSDB" "AutoSQLImportJobs=C:\Program Files\Dynafact\DMS\ImportCmd.TXT" "AutoLogOut"

 

See also: Automatic Execution Commands