Help with DTS package.

Help with DTS package.

Post by Andy » Wed, 03 Oct 2001 06:30:51



I've inherited a legacy system with a package that runs every day.

SQL Agent lists the job step as
DTSRun
/~Z0x6676B2D8C4B8B901FD1FA55A247CFF6A1D3E5143E6B580F64C118EB5A9E6F6447EDEA75
1A0462Cetc.

How can I decipher what package this corresponds to?  Someone has renamed
all the packages so I can't use that info from the Job Step.

Thanks.

 
 
 

Help with DTS package.

Post by Mike » Sun, 07 Oct 2001 01:43:37


Check the tables in the MSDB database on your SQL Server.

On my SQL 7 server:

Local Packages are in: sysdtspackages and your ID code maps to an ID field there.

I'm not certain where meta data services packages are stored. they may be there as well.

And Duh... I just noticed, if you open each package and bring up it's properties, you get the name plus the Package ID.  So that may be the brute force method of finding it out.


> I've inherited a legacy system with a package that runs every day.

> SQL Agent lists the job step as
> DTSRun
> /~Z0x6676B2D8C4B8B901FD1FA55A247CFF6A1D3E5143E6B580F64C118EB5A9E6F6447EDEA75
> 1A0462Cetc.

> How can I decipher what package this corresponds to?  Someone has renamed
> all the packages so I can't use that info from the Job Step.

> Thanks.


 
 
 

Help with DTS package.

Post by Darren Gree » Fri, 12 Oct 2001 05:47:12




Quote:>Check the tables in the MSDB database on your SQL Server.

>On my SQL 7 server:

>Local Packages are in: sysdtspackages and your ID code maps to an ID field
>there.

>I'm not certain where meta data services packages are stored. they may be there
>as well.

Meta Data packages are stored in MSDB, but there is no one table like
sysdtspackages. It has also changed between 7.0 and 2000. Don't go
there, use the object model.

>And Duh... I just noticed, if you open each package and bring up it's
>properties, you get the name plus the Package ID.  So that may be the brute
>force method of finding it out.


>> I've inherited a legacy system with a package that runs every day.

>> SQL Agent lists the job step as
>> DTSRun
>> /~Z0x6676B2D8C4B8B901FD1FA55A247CFF6A1D3E5143E6B580F64C118EB5A9E6F6447EDEA75
>> 1A0462Cetc.

>> How can I decipher what package this corresponds to?  Someone has renamed
>> all the packages so I can't use that info from the Job Step.

>> Thanks.

If you look in Books Online for DTSRUN, /~Z or /Z as it is also
(incorrectly) documented means that this is a single encrypted parameter
that contains all the information such as serevr, connection details,
and package details used to schedule execute that package.

You cannot decrypt this. Normally both the job name and step name are
the same as the package name. If the package has been renamed I guess
the jobs will fail as it can no longer find the package.

--
Darren Green
http://www.sqldts.com

 
 
 

1. Help with DTS package and VB 6.0

Hi,

I have created a DTS package (Copy SQL Server Objects Task)  on MS SQL 2000
server and saved it as a Visual Basic File.  I have converted the code from
a module to a class module and I want to have access to the events of the
package, so I declared it withevents.
When I'm trying to run the program, this is what I get in the Event Viewer:
Package Steps execution information:

Step 'DTSStep_DTSTransferObjectsTask_1' failed

Step Error Source: Microsoft Data Transformation Services (DTS) Package
Step Error Description:Need to run the object to perform this operation
 (Microsoft SQL-DMO (80004005): [SQL-DMO]Code execution exception:
EXCEPTION_ACCESS_VIOLATION)
Step Error code: 80040005
Step Error Help File:sqldts80.hlp
Step Error Help Context ID:700

But if I'm declaring my package without the WithEvents keyword, everything
work perfectly.

ExecuteInMainThread is set to True, the events (OnError, OnFinish,
OnProgress, OnQueryCancel, OnStart Eventsource) are declared in my class
module.

I'm running on PIII-500, 128 MB of ram, NT 4.0 SP4, Visual Basic
Professionnal 6.0...  Got any clues?

Thanks,

Martin Ouellet

2. Generating PostNet barcodes

3. Need help troubleshooting DTS package

4. Warning ! SQL SRVR 6.5 - ANSI Syntax generates incorrect result set

5. Help Wanted : DTS Packages & Triggers

6. From IIS to SQL...

7. Help with DTS Package

8. Help!-Sql-Net8 simple Problem?ORA-12505

9. Please help with DTS package problem

10. Help with DTS Package

11. Urgent help with DTS Packages

12. Help with DTS package: failure due to linked servers

13. Help with DTS Package