Showing posts with label points. Show all posts
Showing posts with label points. Show all posts

Sunday, March 25, 2012

DTS points to Named Pipe or TCP/IP?

Hello all,
When I used DTS, I found out that network library pointed Named pipes at
Process Info in Current activity panel. As my understanding, the network
library should points TCP instead.
What does the network library point to when DTS is used?
Should that library point to TCP/IP?
Which one is faster Named Pipe or TCP/IP?
How can I change order?
Thanks in advance,
Do.
Message posted via droptable.com
http://www.droptable.com/Uwe/Forums...nnect/200508/1
Network library used depends on the client and the server.
Look at the client network utility and the server network
utility.
TCP/IP would probably be preferred in most cases
TCP/IP is normally faster
Try changing the order of the protocols on the client where
the DTS package is executed. Or try creating a TCP/IP alias
using the client network utility.
-Sue
On Thu, 25 Aug 2005 15:29:54 GMT, "Do Park via
droptable.com" <forum@.droptable.com> wrote:

>Hello all,
>When I used DTS, I found out that network library pointed Named pipes at
>Process Info in Current activity panel. As my understanding, the network
>library should points TCP instead.
>What does the network library point to when DTS is used?
>Should that library point to TCP/IP?
>Which one is faster Named Pipe or TCP/IP?
>How can I change order?
>
>Thanks in advance,
>Do.

DTS points to Named Pipe or TCP/IP?

Hello all,
When I used DTS, I found out that network library pointed Named pipes at
Process Info in Current activity panel. As my understanding, the network
library should points TCP instead.
What does the network library point to when DTS is used?
Should that library point to TCP/IP?
Which one is faster Named Pipe or TCP/IP?
How can I change order?
Thanks in advance,
Do.
Message posted via droptable.com
http://www.droptable.com/Uwe/Forum...onnect/200508/1Network library used depends on the client and the server.
Look at the client network utility and the server network
utility.
TCP/IP would probably be preferred in most cases
TCP/IP is normally faster
Try changing the order of the protocols on the client where
the DTS package is executed. Or try creating a TCP/IP alias
using the client network utility.
-Sue
On Thu, 25 Aug 2005 15:29:54 GMT, "Do Park via
droptable.com" <forum@.droptable.com> wrote:

>Hello all,
>When I used DTS, I found out that network library pointed Named pipes at
>Process Info in Current activity panel. As my understanding, the network
>library should points TCP instead.
>What does the network library point to when DTS is used?
>Should that library point to TCP/IP?
>Which one is faster Named Pipe or TCP/IP?
>How can I change order?
>
>Thanks in advance,
>Do.

Friday, March 9, 2012

DTS package - Loop?

Is there a way to have a loop in a DTS package? Or at least to create a start and an end points? I have this process that I put in a DTS package and the process needs to be executed 13 times (involving the creation of different files based on a list of customers) and everything seems to work when I run it once but if I try to insert an "on success" arrow from the last process back to the begining it starts picking a different start point when I rerun it :( Does this make sense?
Any help would be greatly appreciated ;)
--mikeI'm not positive that this will work, but you can try it:

1. Add a global variable (package properties) called LoopCounter
2. Add an ActiveX script (call it "LoopChecker") BEFORE the DTS task and use it to check the value of LoopCounter. If greater than 13, then fail the task; if less than 13 then succeed the task.
3. Link this new ActiveX script to your existing DTS work path using the Success workflow.
4. Add a second ActiveX script to serve as the terminator for the failed "LoopChecker" task
5. Add a third ActiveX script (called "Loop Increment") to increment the LoopCounter variable AFTER the existing DTS task. Set it's workflow to point to "LoopChecker" on success (or even on completion).

You can probably figure out a way to eliminate one of the ActiveX scripts and combine features.

Best of luck, let us know what works.

Regards,

Hugh Scott

Originally posted by Mickael
Is there a way to have a loop in a DTS package? Or at least to create a start and an end points? I have this process that I put in a DTS package and the process needs to be executed 13 times (involving the creation of different files based on a list of customers) and everything seems to work when I run it once but if I try to insert an "on success" arrow from the last process back to the begining it starts picking a different start point when I rerun it :( Does this make sense?
Any help would be greatly appreciated ;)
--mike|||Thanks for the help. I actually found a solution by using the following activex script

IF DTSGlobalVariables("Counter").Value <= DTSGlobalVariables("MaxCount").Value THEN
Set oPkg = DTSGlobalVariables.Parent
oPkg.Steps("DTSStep_DTSDataPumpTask_1").ExecutionStatus = DTSStepExecStat_Waiting
Main = DTSStepScriptResult_DontExecuteTask
ELSE
Main = DTSStepScriptResult_ExecuteTask
END IF

so if the 'IF' statement is true then it reset the first step of my process to wait status and therefore starts again :)

Thanks again,
Mike