dbTalk Databases Forums  

A DTS step freezes (status is just "Executing Job Step 'job name'")

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss A DTS step freezes (status is just "Executing Job Step 'job name'") in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Joakim Olesen
 
Posts: n/a

Default A DTS step freezes (status is just "Executing Job Step 'job name'") - 04-08-2005 , 02:54 AM






Hi

I have an issue with some SQL Jobs:

Mostly they quit with success after 30 sec, but sometimes they just freeze.
For hours (and days) the Status for the job is just "Executing Job Step 'job
name'" and I have to manually restart the job.

How can I automatically restart such jobs that seem to never quit? (It would
be OK to just quit the job after 5 min. because I know it never takes that
long when it doesn't freeze).

The DTS package that is run in the step is password protected and made by a
third party company, so there is no way I can change the package itself.


Hope you can help!

Joakim



Reply With Quote
  #2  
Old   
Ilya Margolin
 
Posts: n/a

Default Re: A DTS step freezes (status is just "Executing Job Step 'job name'") - 04-08-2005 , 08:02 AM






Joakim,

Have another job that checks on your job.

Ilya

"Joakim Olesen" <jol (AT) logosconsult (DOT) dk> wrote

Quote:
Hi

I have an issue with some SQL Jobs:

Mostly they quit with success after 30 sec, but sometimes they just
freeze.
For hours (and days) the Status for the job is just "Executing Job Step
'job
name'" and I have to manually restart the job.

How can I automatically restart such jobs that seem to never quit? (It
would
be OK to just quit the job after 5 min. because I know it never takes that
long when it doesn't freeze).

The DTS package that is run in the step is password protected and made by
a
third party company, so there is no way I can change the package itself.


Hope you can help!

Joakim





Reply With Quote
  #3  
Old   
Joakim Olesen
 
Posts: n/a

Default Re: A DTS step freezes (status is just "Executing Job Step 'job name'") - 04-08-2005 , 08:05 AM



Hi Ilya Margolin

I don't really see how this would be possible, can you please explain?

Joakim


"Ilya Margolin" <ilya_no_spam_ (AT) unapen (DOT) com> skrev i en meddelelse
news:%23li7bsDPFHA.3076 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
Quote:
Joakim,

Have another job that checks on your job.

Ilya

"Joakim Olesen" <jol (AT) logosconsult (DOT) dk> wrote in message
news:uIkvUCBPFHA.576 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
Hi

I have an issue with some SQL Jobs:

Mostly they quit with success after 30 sec, but sometimes they just
freeze.
For hours (and days) the Status for the job is just "Executing Job Step
'job
name'" and I have to manually restart the job.

How can I automatically restart such jobs that seem to never quit? (It
would
be OK to just quit the job after 5 min. because I know it never takes
that
long when it doesn't freeze).

The DTS package that is run in the step is password protected and made by
a
third party company, so there is no way I can change the package itself.


Hope you can help!

Joakim







Reply With Quote
  #4  
Old   
Ilya Margolin
 
Posts: n/a

Default Re: A DTS step freezes (status is just "Executing Job Step 'job name'") - 04-11-2005 , 07:22 AM



Joakim,

Write a stored procedure in which you would use sp_help_job to get start
time and execution status, sp_stop_job to stop your job and sp_start_job to
restart it. Execute this new stored procedure in your new tracking job.

Ilya

"Joakim Olesen" <jol (AT) logosconsult (DOT) dk> wrote

Quote:
Hi Ilya Margolin

I don't really see how this would be possible, can you please explain?

Joakim


"Ilya Margolin" <ilya_no_spam_ (AT) unapen (DOT) com> skrev i en meddelelse
news:%23li7bsDPFHA.3076 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
Joakim,

Have another job that checks on your job.

Ilya

"Joakim Olesen" <jol (AT) logosconsult (DOT) dk> wrote in message
news:uIkvUCBPFHA.576 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
Hi

I have an issue with some SQL Jobs:

Mostly they quit with success after 30 sec, but sometimes they just
freeze.
For hours (and days) the Status for the job is just "Executing Job Step
'job
name'" and I have to manually restart the job.

How can I automatically restart such jobs that seem to never quit? (It
would
be OK to just quit the job after 5 min. because I know it never takes
that
long when it doesn't freeze).

The DTS package that is run in the step is password protected and made
by
a
third party company, so there is no way I can change the package
itself.


Hope you can help!

Joakim









Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.