Re: The DTSRun statement runs without error, yet returns ErrorLeve
- From: "Maxwell" <Maxwell@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 27 Jun 2005 14:05:02 -0700
I reran the batch file after editing the DTS package to log execution to
SQLServer and to write errors out to a text file. Nothing was logged to the
text file and the
sysdtssteplog table didnt have any records with errorcode <> 0. I obtained
the same results - DTS package apparently succeeded, but ErrorLevel 1 was
returned.
"Helge C. Rutz" wrote:
> Hi Maxwell,
>
> "Maxwell" wrote:
> >I am executing a DTSRun statement from a batch file running on Windows XP
> and
> > am checking for ErrorLevel 1 in order to perform error handling tasks.
> > The DTSRun statement runs without error, yet returns ErrorLevel 1.
> ....
> > **********************************************
> > Results of Executing DTSRun statement
> > DTSRun OnProgress: DTSStep_DTSDataPumpTask_2; 156 Rows have been
> > transformed or copied.; PercentComplete = 0; ProgressCount = 156
> > DTSRun OnFinish: DTSStep_DTSDataPumpTask_2
> > DTSRun OnStart: DTSStep_DTSExecuteSQLTask_2
> > DTSRun OnFinish: DTSStep_DTSExecuteSQLTask_2
> > DTSRun: Package execution complete.
> > *******************************
> > --DTSLOAD: ERROR --
>
> How do you know that the dts package runs without errors?
> Please enable the logging of the dts package and see the detailed logfile
> for informations of failed steps.
> I know one scenario where the manipulation of the workflow of the package
> by explicitly setting the execution status of steps can lead to this
> behaviour.
>
> Helge
>
>
.
- Follow-Ups:
- Re: The DTSRun statement runs without error, yet returns ErrorLeve
- From: Helge C. Rutz
- Re: The DTSRun statement runs without error, yet returns ErrorLeve
- References:
- The DTSRun statement runs without error, yet returns ErrorLevel 1.
- From: Maxwell
- Re: The DTSRun statement runs without error, yet returns ErrorLevel 1.
- From: Helge C. Rutz
- The DTSRun statement runs without error, yet returns ErrorLevel 1.
- Prev by Date: Passing parameters from Visual BASIC to a DTS package
- Next by Date: Re: Passing parameters from Visual BASIC to a DTS package
- Previous by thread: Re: The DTSRun statement runs without error, yet returns ErrorLevel 1.
- Next by thread: Re: The DTSRun statement runs without error, yet returns ErrorLeve
- Index(es):
Relevant Pages
|