Auto Delete Assembly Structures by Job State
Previous Topic  Next Topic 

The Delete Assembly Structures by Job State can be executed from a batch or command file.  The format of the command is:


DeleteAssemblyStructuresByJobState=Job State 1;Job State 2; … Job State n


Where Job State 1, Job Sate 2 … Job State n is a list of the job states of the assembly structures to be deleted.  Each job state must be separated by a semi colon.  


The following command line example executes DMS and performs the following commands:


  1. Auto logs into DMS using the user name DMS
  2. Logs into the database named DMSTestJob
  3. Runs the command DeleteAssemblyStructuresByJobState and deletes assembly structures with a job state of Forecast and Rework
  4. Auto logs out of DMS.


Note that each command must be surrounded in quotations:


"C:\Dynafact\Production\DMS\DMSEnt.exe" "UserIniFolder=C:\Dynafact\Production\DMS\User\" "AutoUserName=DMS" "DatabaseName=DMSTestJob" "DeleteAssemblyStructuresByJobState= Forecast;Rework" "AutoLogOut"