Issue
PSS recommends creating an ACC_Dump_Debug.txt file to troubleshoot save-to-database problems.
Product Line
Andover Continuum
Environment
- ACC_Dump_Debug
- Debug file
Cause
Trouble saving a controller to database. One step in troubleshooting is to set up a debug file
Resolution
Note: Under normal operation, Continuum saves an ASCII dump file to the TEMP directory every time a “Save from Controller” (via the "Send to Database" option) is done and deletes the file after it is imported. In order to keep these files for inspection, follow this procedure.
- Open a dos command prompt, type Set TEMP, and record the location of your TEMP directory.
- In the TEMP directory, create a text file named Acc_Dump_Debug.txt.
- Edit the Acc_Dump_Debug.txt file and enter on the first line the directory where you would like the dump files to be stored (e.g., c:\DumpFiles\CNC1.)
Note: The directory entered in the text file must already exist. If the directory does not exist, then an error message will be written to the Acc_Dump_Debug.txt file and the dump operation will proceed as normal. If the Acc_Dump_Debug.txt file is created but does not have a directory entry on the first line, .dmp files will be written to the root drive where continuum is installed. - With the Acc_Dump_Debug.txt file properly configured, all .dmp files will be redirected to the specified directory. The file name of the dumped object is the continuum full path name of the object with a .dmp extension.
- To turn off the archiving, either delete the Acc_Dump_Debug.txt file or rename it.