Can I use parameters in an event handler document?

In DDM I noticed that one error is reoccuring on the system. I want to run a compact -c -i on the target database but I want this to be automated.

My idea was to create an event handler that catches the event reported in DDM and sends a server console command to fix it but the problem is that I don’t know how to add the database as a parameter in the console command. %TargetDatabase% like in the DDM corrective events does not work.

I can’t imagine that this would not be possible?

/stijn.

Subject: I’ll probably need to use a ‘run a program’ notification method but then??

I managed to get basic console commands working with the ‘run a program’ notification method but I can’t pass any of the parameters. The documentation to use this is terrible :frowning: The DDM event document lists the parameters I need and normally I should be able to pass these to the command line argument…

/stijn.

Subject: event handler programs and parameters

Hello,

Please see this post I just made about the same issue.

Also, in the post, I mention an IdeaJam idea regarding the terrible documentation.

I’m about to make a second post as to why some of my corrective actions don’t work.