|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Event Scripts > Database > OnDatabaseConnectivityFailure.LST script file |
available from build: 20040618
It is used to notify an administrator about a fault that has happened, at a certain time, during the connection with a user workstation.
Options→General
This script is supposed to be executed when the PDM has been disabled due to DB connection issue. Since the DB connection is off, several DBWShell/DBWLib functions are not available (e.g. a msgbox call is ok while a dbwmsgbox is not).
More, about the '.x64 specification, please note it is a matter of in_process/out_of_process execution. By design, any out_of_process DBAlone execution requires the PDM to be enabled and for such reason the script is not executed.
Since the goal of this script is to notify an administrator about a fault that has happened, the suggestion is to avoid any usage of DBWShell/DBWLib functions and to rely on in_process execution ('.x64)
@USER |
the user whose workstation was faulty connected |
|---|---|
@TIME |
the time of the fault connection |
'.x64
.VBSCRIPT
Sub Main()
msgbox "Executing OnDatabaseConnectivityFailure.LST"
End Sub