dbTalk Databases Forums  

HOW to catch progresscount from DTS package at the time of executi

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


Discuss HOW to catch progresscount from DTS package at the time of executi in the microsoft.public.sqlserver.dts forum.



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

Default HOW to catch progresscount from DTS package at the time of executi - 07-21-2006 , 12:06 AM






Hi all,
I would like to catch progresscount from DTS package at the time of execution.

Once we enabled DTS package log, all package execution details are inserted
in to respective tables in MSDB data base.

Before inserting Progresscount in to respective table I would like to catch
progresscount.

Please help me the same.

Thanks and regards,
Rajesh

Reply With Quote
  #2  
Old   
Frans van Bree
 
Posts: n/a

Default RE: HOW to catch progresscount from DTS package at the time of executi - 07-21-2006 , 03:38 AM






I think you mean catch the progresscount for a DTS step i.s.o. package? I
have not done this before, but you could try using the multi-phase datapump
(right-click Data Transformation Services folder in Enterprise Manager ->
click "show multi-phase pump in DTS designer"

In your package click the transform data task (datapump) -> tab
"transformations" -> select phases filter: post source data

You can write an ActiveX script here that executes after all data has been
transformed, but before the datapump step is done. Try to retrieve the
ProgressRowCount property of the DTSDataPumpTask via the DTS object model.
Use Google, as I don't have any code at hand for you to do this.

Hope this helps you in your search.

Reply With Quote
  #3  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: HOW to catch progresscount from DTS package at the time of executi - 07-24-2006 , 04:33 PM



Hello Rajesha,

To get this kind of information you would ideally want to consume the events
from package execution using something like VB.


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com

Quote:
Hi all,
I would like to catch progresscount from DTS package at the time of
execution.
Once we enabled DTS package log, all package execution details are
inserted in to respective tables in MSDB data base.

Before inserting Progresscount in to respective table I would like to
catch progresscount.

Please help me the same.

Thanks and regards,
Rajesh



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.