Enviroment: SQL2000sp3, Win 2000k sp2.
Limited Experience in SQL server.
Question: Where in SQL Server do you set some timeout so that the step in the Job will fail after a certain time?
History: The sql server runs our datawarehouse. The tool used to create datamarts basically creates a dts package. All the dts packages are then run from a Job using the OS cmd DTSRun and the name of the package.
The package basically pulls data from a AS/400 to the SQL server staging db using ODBC. The transformation is a simple column to column copy.
What I want to be able to do is put some sort of a timeout on the step if it is not completed by a reasonable time.
The problem that I found was I had the AS/400 IPLed while SQL was running the Job. It was still stuck 24hours later trying to execute that step in the job.
Where in SQL Server do you set some timeout so that the step in the Job will fail after a certain time?
In the ODBC Source, advance connection properties of the package has a Connect timeout of 1200,
the General timeout is blank.
In the SQL destination, advance connection properties, the general timeout is 0.
Also if the step runs a Transact SQL commnad, specifically a Stored procedure, where are the timeouts maintained to have the step completed by a certain time.
Any hints?
Thanks
Limited Experience in SQL server.
Question: Where in SQL Server do you set some timeout so that the step in the Job will fail after a certain time?
History: The sql server runs our datawarehouse. The tool used to create datamarts basically creates a dts package. All the dts packages are then run from a Job using the OS cmd DTSRun and the name of the package.
The package basically pulls data from a AS/400 to the SQL server staging db using ODBC. The transformation is a simple column to column copy.
What I want to be able to do is put some sort of a timeout on the step if it is not completed by a reasonable time.
The problem that I found was I had the AS/400 IPLed while SQL was running the Job. It was still stuck 24hours later trying to execute that step in the job.
Where in SQL Server do you set some timeout so that the step in the Job will fail after a certain time?
In the ODBC Source, advance connection properties of the package has a Connect timeout of 1200,
the General timeout is blank.
In the SQL destination, advance connection properties, the general timeout is 0.
Also if the step runs a Transact SQL commnad, specifically a Stored procedure, where are the timeouts maintained to have the step completed by a certain time.
Any hints?
Thanks