Try OpenEdge Now
skip to main content
Database Diagnostic Data Collection
Diagnostic Data Collection : DiagProc file
 

DiagProc file

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.
Caution: An OpenEdge server calling an external executable or script is a potential security risk. Restricted access to the script is advised.