Hi everyone,
i'm trying to find on our Sql Server database where i could find the table that contains error messages when a job fail. I give you know an example :
OnStart: DTSStep_DTSExecuteSQLTask_1
DTSRun OnFinish: DTSStep_DTSExecuteSQLTask_1
DTSRun OnStart: DTSStep_DTSDataDrivenQueryTask_1
DTSRun OnError: DTSStep_DTSDataDrivenQueryTask_1, Error = -2147217843 (80040E4D) Error string: [Oracle][ODBC][Ora]ORA-12154: TNS:could not resolve service name Error source: Microsoft OLE DB Provider for ODBC Drivers Help file: Help context: 0 Error Detail Records: Error: -2147217843 (80040E4D); Provider Error: 12154 (2F7A) Error string: [Oracle][ODBC][Ora]ORA-12154: TNS:could not resolve service name Error source: Microsoft OLE DB Provider for ODBC Drivers Help file: Help context: 0
DTSRun OnFinish: DTSStep_DTSDataDrivenQueryTask_1 DTSRun OnStart: DTSStep_DTSExecuteSQLTask_2 DTSRun OnFinish: DTSStep_DTSExecuteSQLTask_2 DTSRun OnStart: DTSStep_DTSDataDrivenQueryTask_4 DTSRun OnError: DTSStep_DTSDataDrivenQuer... Process Exit Code 2. The step failed.
This kind of message happened when a job fail, if you want to have precisions of the reasons you can Right-clic on the job on the enterprise manager,"View Job History", "Show Step Details", then when you clic on the step you can see the message...That is the kind of message i would like to access on a "system" table.
I would like to know on which table can i put out these datas? I've tried on MSDB :
- sysjobhistory
- sysdtspackagelog
- sysdtstasklog
- sysdbmaintplanhistory
...
But i didn't found what i wanted.
The aim is to realized a DTS that trace all DTS failed on last week, with the nature of the problem (with the message).
If anyone knows how to find it, it would be great...
Thanks
Bye
i'm trying to find on our Sql Server database where i could find the table that contains error messages when a job fail. I give you know an example :
OnStart: DTSStep_DTSExecuteSQLTask_1
DTSRun OnFinish: DTSStep_DTSExecuteSQLTask_1
DTSRun OnStart: DTSStep_DTSDataDrivenQueryTask_1
DTSRun OnError: DTSStep_DTSDataDrivenQueryTask_1, Error = -2147217843 (80040E4D) Error string: [Oracle][ODBC][Ora]ORA-12154: TNS:could not resolve service name Error source: Microsoft OLE DB Provider for ODBC Drivers Help file: Help context: 0 Error Detail Records: Error: -2147217843 (80040E4D); Provider Error: 12154 (2F7A) Error string: [Oracle][ODBC][Ora]ORA-12154: TNS:could not resolve service name Error source: Microsoft OLE DB Provider for ODBC Drivers Help file: Help context: 0
DTSRun OnFinish: DTSStep_DTSDataDrivenQueryTask_1 DTSRun OnStart: DTSStep_DTSExecuteSQLTask_2 DTSRun OnFinish: DTSStep_DTSExecuteSQLTask_2 DTSRun OnStart: DTSStep_DTSDataDrivenQueryTask_4 DTSRun OnError: DTSStep_DTSDataDrivenQuer... Process Exit Code 2. The step failed.
This kind of message happened when a job fail, if you want to have precisions of the reasons you can Right-clic on the job on the enterprise manager,"View Job History", "Show Step Details", then when you clic on the step you can see the message...That is the kind of message i would like to access on a "system" table.
I would like to know on which table can i put out these datas? I've tried on MSDB :
- sysjobhistory
- sysdtspackagelog
- sysdtstasklog
- sysdbmaintplanhistory
...
But i didn't found what i wanted.
The aim is to realized a DTS that trace all DTS failed on last week, with the nature of the problem (with the message).
If anyone knows how to find it, it would be great...
Thanks
Bye