dbTalk Databases Forums  

SQL 2K job and DTS

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


Discuss SQL 2K job and DTS in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
DTS Newbie
 
Posts: n/a

Default SQL 2K job and DTS - 08-21-2008 , 01:45 PM






I have a sql server 2000 job that is just doing an execution of a DTS pkg.
When you look at the syntax in the step of the job I see something like:

DTSRun /~ZO4858C301ABE2

The problem is, my DTS packages are not named in any uniform way with the
Job name, so I don't know which DTS package this job is running. My job is
failing, but how can I determine which DTS package it is executing?

I looked at the GUID, and that does not seem to be it.



Reply With Quote
  #2  
Old   
Moby
 
Posts: n/a

Default Re: SQL 2K job and DTS - 08-22-2008 , 07:48 AM






On 21 Aug., 20:45, DTS Newbie <DTS New... (AT) discussions (DOT) microsoft.com>
wrote:
Quote:
I have a sql server 2000 job that is just doing an execution of a DTS pkg.. *
When you look at the syntax in the step of the job I see something like:

DTSRun /~ZO4858C301ABE2

The problem is, my DTS packages are not named in any uniform way with the
Job name, so I don't know which DTS package this job is running. *My job is
failing, but how can I determine which DTS package it is executing? *

I looked at the GUID, and that does not seem to be it.
what you have is the id for your package (espacialy regarding the
history of the package).
take a look in the sql help for dtsrun command
in your jobs you can type within teh steps for the command the dtsrun
command like
"dtsrun N/ <servername> /E /N <dts_package_name>"

moby


Reply With Quote
  #3  
Old   
Moby
 
Posts: n/a

Default Re: SQL 2K job and DTS - 08-22-2008 , 07:48 AM



On 21 Aug., 20:45, DTS Newbie <DTS New... (AT) discussions (DOT) microsoft.com>
wrote:
Quote:
I have a sql server 2000 job that is just doing an execution of a DTS pkg.. *
When you look at the syntax in the step of the job I see something like:

DTSRun /~ZO4858C301ABE2

The problem is, my DTS packages are not named in any uniform way with the
Job name, so I don't know which DTS package this job is running. *My job is
failing, but how can I determine which DTS package it is executing? *

I looked at the GUID, and that does not seem to be it.
what you have is the id for your package (espacialy regarding the
history of the package).
take a look in the sql help for dtsrun command
in your jobs you can type within teh steps for the command the dtsrun
command like
"dtsrun N/ <servername> /E /N <dts_package_name>"

moby


Reply With Quote
  #4  
Old   
Moby
 
Posts: n/a

Default Re: SQL 2K job and DTS - 08-22-2008 , 07:48 AM



On 21 Aug., 20:45, DTS Newbie <DTS New... (AT) discussions (DOT) microsoft.com>
wrote:
Quote:
I have a sql server 2000 job that is just doing an execution of a DTS pkg.. *
When you look at the syntax in the step of the job I see something like:

DTSRun /~ZO4858C301ABE2

The problem is, my DTS packages are not named in any uniform way with the
Job name, so I don't know which DTS package this job is running. *My job is
failing, but how can I determine which DTS package it is executing? *

I looked at the GUID, and that does not seem to be it.
what you have is the id for your package (espacialy regarding the
history of the package).
take a look in the sql help for dtsrun command
in your jobs you can type within teh steps for the command the dtsrun
command like
"dtsrun N/ <servername> /E /N <dts_package_name>"

moby


Reply With Quote
  #5  
Old   
Moby
 
Posts: n/a

Default Re: SQL 2K job and DTS - 08-22-2008 , 07:48 AM



On 21 Aug., 20:45, DTS Newbie <DTS New... (AT) discussions (DOT) microsoft.com>
wrote:
Quote:
I have a sql server 2000 job that is just doing an execution of a DTS pkg.. *
When you look at the syntax in the step of the job I see something like:

DTSRun /~ZO4858C301ABE2

The problem is, my DTS packages are not named in any uniform way with the
Job name, so I don't know which DTS package this job is running. *My job is
failing, but how can I determine which DTS package it is executing? *

I looked at the GUID, and that does not seem to be it.
what you have is the id for your package (espacialy regarding the
history of the package).
take a look in the sql help for dtsrun command
in your jobs you can type within teh steps for the command the dtsrun
command like
"dtsrun N/ <servername> /E /N <dts_package_name>"

moby


Reply With Quote
  #6  
Old   
Moby
 
Posts: n/a

Default Re: SQL 2K job and DTS - 08-22-2008 , 07:48 AM



On 21 Aug., 20:45, DTS Newbie <DTS New... (AT) discussions (DOT) microsoft.com>
wrote:
Quote:
I have a sql server 2000 job that is just doing an execution of a DTS pkg.. *
When you look at the syntax in the step of the job I see something like:

DTSRun /~ZO4858C301ABE2

The problem is, my DTS packages are not named in any uniform way with the
Job name, so I don't know which DTS package this job is running. *My job is
failing, but how can I determine which DTS package it is executing? *

I looked at the GUID, and that does not seem to be it.
what you have is the id for your package (espacialy regarding the
history of the package).
take a look in the sql help for dtsrun command
in your jobs you can type within teh steps for the command the dtsrun
command like
"dtsrun N/ <servername> /E /N <dts_package_name>"

moby


Reply With Quote
  #7  
Old   
Moby
 
Posts: n/a

Default Re: SQL 2K job and DTS - 08-22-2008 , 07:48 AM



On 21 Aug., 20:45, DTS Newbie <DTS New... (AT) discussions (DOT) microsoft.com>
wrote:
Quote:
I have a sql server 2000 job that is just doing an execution of a DTS pkg.. *
When you look at the syntax in the step of the job I see something like:

DTSRun /~ZO4858C301ABE2

The problem is, my DTS packages are not named in any uniform way with the
Job name, so I don't know which DTS package this job is running. *My job is
failing, but how can I determine which DTS package it is executing? *

I looked at the GUID, and that does not seem to be it.
what you have is the id for your package (espacialy regarding the
history of the package).
take a look in the sql help for dtsrun command
in your jobs you can type within teh steps for the command the dtsrun
command like
"dtsrun N/ <servername> /E /N <dts_package_name>"

moby


Reply With Quote
  #8  
Old   
Moby
 
Posts: n/a

Default Re: SQL 2K job and DTS - 08-22-2008 , 07:48 AM



On 21 Aug., 20:45, DTS Newbie <DTS New... (AT) discussions (DOT) microsoft.com>
wrote:
Quote:
I have a sql server 2000 job that is just doing an execution of a DTS pkg.. *
When you look at the syntax in the step of the job I see something like:

DTSRun /~ZO4858C301ABE2

The problem is, my DTS packages are not named in any uniform way with the
Job name, so I don't know which DTS package this job is running. *My job is
failing, but how can I determine which DTS package it is executing? *

I looked at the GUID, and that does not seem to be it.
what you have is the id for your package (espacialy regarding the
history of the package).
take a look in the sql help for dtsrun command
in your jobs you can type within teh steps for the command the dtsrun
command like
"dtsrun N/ <servername> /E /N <dts_package_name>"

moby


Reply With Quote
  #9  
Old   
Moby
 
Posts: n/a

Default Re: SQL 2K job and DTS - 08-22-2008 , 07:48 AM



On 21 Aug., 20:45, DTS Newbie <DTS New... (AT) discussions (DOT) microsoft.com>
wrote:
Quote:
I have a sql server 2000 job that is just doing an execution of a DTS pkg.. *
When you look at the syntax in the step of the job I see something like:

DTSRun /~ZO4858C301ABE2

The problem is, my DTS packages are not named in any uniform way with the
Job name, so I don't know which DTS package this job is running. *My job is
failing, but how can I determine which DTS package it is executing? *

I looked at the GUID, and that does not seem to be it.
what you have is the id for your package (espacialy regarding the
history of the package).
take a look in the sql help for dtsrun command
in your jobs you can type within teh steps for the command the dtsrun
command like
"dtsrun N/ <servername> /E /N <dts_package_name>"

moby


Reply With Quote
  #10  
Old   
DTS Newbie
 
Posts: n/a

Default Re: SQL 2K job and DTS - 08-22-2008 , 08:27 AM





"Moby" wrote:

Quote:
On 21 Aug., 20:45, DTS Newbie <DTS New... (AT) discussions (DOT) microsoft.com
wrote:
I have a sql server 2000 job that is just doing an execution of a DTS pkg..
When you look at the syntax in the step of the job I see something like:

DTSRun /~ZO4858C301ABE2

The problem is, my DTS packages are not named in any uniform way with the
Job name, so I don't know which DTS package this job is running. My job is
failing, but how can I determine which DTS package it is executing?

I looked at the GUID, and that does not seem to be it.

what you have is the id for your package (espacialy regarding the
history of the package).
take a look in the sql help for dtsrun command
in your jobs you can type within teh steps for the command the dtsrun
command like
"dtsrun N/ <servername> /E /N <dts_package_name>"

moby


I did look up the syntax of the dtsrun command, but there is no default that
is documented. You state that it is the id for the dts package.

The question is, how do I take that dts id and find out which package that
is? Is there a view to query?

I need to know which DTS package is failing in the job.





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.