DiagProc file
- Last Updated: February 11, 2026
- 2 minute read
- OpenEdge
- Version 13.0
- Documentation
For all triggering events, event level 4, or 4 in combination with another value, a process is spawned after any diagnostic data files are written, and before the triggering event is processed. The spawned process executes the diagProc file. The diagProc file is an executable file that can accept three input parameters: the current event diagnostic directory name, the triggering event, and the database name.
On Unix, the diagProc file must be an executable or executable shell script named diagProc, and must reside in the database directory.
In Windows, the diagProc file must be an executable named diagProc.exe, or a batch file named diagProc.bat, and must reside in the database directory. The diagProc.exe file is searched for first, and diagProc.bat second. The first file found is executed.
Example
Sample diagProc script:
|
- Start your database as follows:
-diagDir ddir -diagEvent LockTable:4 - Invoke Promon.
- Select
R&D. Advanced options. - Select
4. Administrative Functions. - Select
14. Diagnostic Data Collection. - Select
99a. Collect all enabled diagnostic data now. - Exit Promon.
|