Some jobs don't have corresponding DTS. Possible?

This is a discussion on Some jobs don't have corresponding DTS. Possible? within the sqlserver-dts forums in Microsoft SQL Server category; I'm doing some database maintenance by erasing DTSs and jobs that are needed anymore. I've noticed that there are jobs that don't have a corresponding DTS. Four jobs called TSQL_JOB_4 - TSQL_JOB_7 do not have corresponding DTS. This is the detail of these jobs: [Last Run Status] = Unknown [Enabled] = 'No' [Runnable] = 'Yes' Two of them have [Scheduled] = 'No' and the other two have [Scheduled] = 'Yes'. [Status]= Not Running There's another job called Make History that's [Enabled]='Yes', [Runnable]='Yes', [Scheduled]='Yes', [Last Run Status]='Succeeded (8/5/2008)', [Next Run Date]='9/5/2008'. But I ...

Go Back   Database Forum > Microsoft SQL Server > sqlserver-dts

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-25-2008, 11:20 AM
Default Some jobs don't have corresponding DTS. Possible?

I'm doing some database maintenance by erasing DTSs and jobs that are needed
anymore.

I've noticed that there are jobs that don't have a corresponding DTS.

Four jobs called TSQL_JOB_4 - TSQL_JOB_7 do not have corresponding DTS. This
is the detail of these jobs:
[Last Run Status] = "Unknown"
[Enabled] = 'No'
[Runnable] = 'Yes'
Two of them have [Scheduled] = 'No' and the other two have [Scheduled] =
'Yes'. [Status]="Not Running"

There's another job called "Make History" that's [Enabled]='Yes',
[Runnable]='Yes', [Scheduled]='Yes', [Last Run Status]='Succeeded
(8/5/2008)', [Next Run Date]='9/5/2008'. But I don't have a DTS called "Make
History".
All these jobs have the blue icon.

Then I have some with the red 'X' icon next to them, and they're also jobs
with no corresponding DTS. I have a job called "FullDB_Backup" that's
[Enabled]='Yes', [Runnable]='Yes', [Scheduled]='Yes', [Status]="Not Running",
[Last Run Status]='Failed (8/24/2008)', [Next Run Date]='8/25/2008'.
There are a few more like this.

What should I do with them? Can I create a job that's unrelated to a DTS?

Any help is appreciated.

I have SQL Server 2000.
Thanks.
Reply With Quote
  #2  
Old 08-28-2008, 03:55 AM
Default Re: Some jobs don't have corresponding DTS. Possible?

On Aug 25, 4:20*pm, VMI wrote:
> I'm doing some database maintenance by erasing DTSs and jobs that are needed
> anymore.
>
> I've noticed that there are jobs that don't have a corresponding DTS.
>
> Four jobs called TSQL_JOB_4 - TSQL_JOB_7 do not have corresponding DTS. This
> is the detail of these jobs:
> [Last Run Status] = "Unknown"
> [Enabled] = 'No'
> [Runnable] = 'Yes'
> Two of them have [Scheduled] = 'No' and the other two have [Scheduled] =
> 'Yes'. [Status]="Not Running"
>
> There's another job called "Make History" that's [Enabled]='Yes',
> [Runnable]='Yes', [Scheduled]='Yes', [Last Run Status]='Succeeded
> (8/5/2008)', [Next Run Date]='9/5/2008'. But I don't have a DTS called "Make
> History".
> All these jobs have the blue icon.
>
> Then I have some with the red 'X' icon next to them, and they're also jobs
> with no corresponding DTS. I have a job called "FullDB_Backup" that's
> [Enabled]='Yes', [Runnable]='Yes', [Scheduled]='Yes', [Status]="Not Running",
> [Last Run Status]='Failed (8/24/2008)', [Next Run Date]='8/25/2008'.
> There are a few more like this.
>
> What should I do with them? Can I create a job that's unrelated to a DTS?
>


Hi,
DTS and jobs are two different objects, sometimes related because you
can schedule a DTS in a job, but this doesn't mean that for each job
there must be an underlying DTS. In fact you can create jobs that
perform tasks other thatn DTS (execute activeX script, perform some
simple maintenace tasks, execute tsql statements or, for DTS,
executing commands). Open your job and go to the step tab. Open a
single step and check the step type. For DTS this should be CmdExec.
Then check the command: if there's DTSRun /N"YourDTSname" and the DTS
isn't stored... well i believe the job will fail.

HTH,
M.

> Any help is appreciated.
>
> I have SQL Server 2000.
> Thanks.

Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 05:33 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by bbpixel2008 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.