![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a DTS Job that is scheduled to run daily on our SQL Server 2000 server. Is there an easy way for me to determine if the DTS job ran successfully? Does DTS provide anything for this or must I use DMO to look at the jobs collection? |
#3
| |||
| |||
|
|
Hi David! For you as a programmer or for you as a user ? Is the job schedule directly on the server or is it called from a VB Program ? if so, do you wish to receive the return value in your VB Program ? if so ,do you it to be a sync or async DTS call ? here's a fast thought : if the job is schedule only on the server i think you could use xp_sendmail to send an email at the end of the DTS execution or maybe you could try xp_logevent which logs an event in the Microsoft SQL Server log file and in the Microsoft Windows NT Event Viewer.. -- Best Regards Yanick "DavidM" <spam (AT) spam (DOT) net> a écrit dans le message de news:O8q7jpE6EHA.1260 (AT) TK2MSFTNGP12 (DOT) phx.gbl... I have a DTS Job that is scheduled to run daily on our SQL Server 2000 server. Is there an easy way for me to determine if the DTS job ran successfully? Does DTS provide anything for this or must I use DMO to look at the jobs collection? |
#4
| |||
| |||
|
|
Actually -- the DTS package runs on server and all is fine. However, I have a VB application that loads/reports information to the user based on some of the data that was loaded from DTS. I thought it would be nice to have my VB application display the last time the DTS package was run and whether it was successful - just as an informational type thing. Today, we usually don't know if the DTS package fails until we run the reports and then have to go and see why data is not accurate. "Zoury" <yanick_lefebvre at hotmail dot com> wrote in message news:%23GdlR2E6EHA.2180 (AT) TK2MSFTNGP10 (DOT) phx.gbl... Hi David! For you as a programmer or for you as a user ? Is the job schedule directly on the server or is it called from a VB Program ? if so, do you wish to receive the return value in your VB Program ? if so ,do you it to be a sync or async DTS call ? here's a fast thought : if the job is schedule only on the server i think you could use xp_sendmail to send an email at the end of the DTS execution or maybe you could try xp_logevent which logs an event in the Microsoft SQL Server log file and in the Microsoft Windows NT Event Viewer.. -- Best Regards Yanick "DavidM" <spam (AT) spam (DOT) net> a écrit dans le message de news:O8q7jpE6EHA.1260 (AT) TK2MSFTNGP12 (DOT) phx.gbl... I have a DTS Job that is scheduled to run daily on our SQL Server 2000 server. Is there an easy way for me to determine if the DTS job ran successfully? Does DTS provide anything for this or must I use DMO to look at the jobs collection? |
#5
| |||
| |||
|
|
I have a DTS Job that is scheduled to run daily on our SQL Server 2000 server. Is there an easy way for me to determine if the DTS job ran successfully? Does DTS provide anything for this or must I use DMO to look at the jobs collection? |
![]() |
| Thread Tools | |
| Display Modes | |
| |