dbTalk Databases Forums  

Process Task (Bat File)

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


Discuss Process Task (Bat File) in the microsoft.public.sqlserver.dts forum.



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

Default Process Task (Bat File) - 07-06-2004 , 03:02 PM






I've added a simple bat file to move a file from one directory to another at
the tail-end of a DTS package. Even though this task runs successfully if I
right-click, execute task from within the DTS designer, it fails when I
execute the entire package returning an error which indicates that the
return code = 1 when I set the return code = 0.

Since the task runs correctly with return code = 0 when I execute the single
task and fails with I set the return = 1, then I assume 0 = true & 1 =
false.

In either case, why would the task fail as part of the package but not when
run alone.

Thanks,
Ross



Reply With Quote
  #2  
Old   
Ross Culver
 
Posts: n/a

Default Re: Process Task (Bat File) - 07-06-2004 , 05:20 PM






I have determined that it's a connection issue; however, I can't figure out
what the solutions is.


"Ross Culver" <rculver (AT) alliant-solutions (DOT) com> wrote

Quote:
I've added a simple bat file to move a file from one directory to another
at
the tail-end of a DTS package. Even though this task runs successfully if
I
right-click, execute task from within the DTS designer, it fails when I
execute the entire package returning an error which indicates that the
return code = 1 when I set the return code = 0.

Since the task runs correctly with return code = 0 when I execute the
single
task and fails with I set the return = 1, then I assume 0 = true & 1 =
false.

In either case, why would the task fail as part of the package but not
when
run alone.

Thanks,
Ross





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.