Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Help! - DTS/Job Task (SQL Server 2000)

 
   Database Forums (Home) -> Data Warehouse RSS
Next:  Dimension design problem - star/snowflake?  
Author Message
segis bata

External


Since: May 01, 2006
Posts: 9



(Msg. 1) Posted: Thu Jan 17, 2008 7:38 pm
Post subject: Help! - DTS/Job Task (SQL Server 2000)
Archived from groups: microsoft>public>sqlserver>datawarehouse, others (more info?)

Hello all,

I have this situation, I have a DTS package consisting of a series of data
transformations and data transfers from our server to remote servers. If I
execute the DTS from the Data Transformation Services --> Local Packages, it
runs smoothly without any problems. But, when I schedule that same DTS
package and have SQL (Server 2000) run it as a task on a daily manner it
runs "successfully" (according to SQL) but when I see the job history I see
that no records were transferred even though it says "successfully" (which,
obviously, isn't)

So, my question is, what could be causing that a DTS package running from a
Job Task transfers no records and when I run it directly from Data
Transformation Services --> Local Packages, it transfers the right data
(between 180 and 200 records depending on the day, but NEVER 0 records)

is it permissions? it it something else? (btw, my DTS package doesn't need
parameters or anything like that)

Thanks in advance for all your help,
SB-R

 >> Stay informed about: Help! - DTS/Job Task (SQL Server 2000) 
Back to top
Login to vote
Dan Guzman1

External


Since: Aug 22, 2004
Posts: 469



(Msg. 2) Posted: Thu Jan 17, 2008 8:13 pm
Post subject: Re: Help! - DTS/Job Task (SQL Server 2000) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> So, my question is, what could be causing that a DTS package running from
> a Job Task transfers no records and when I run it directly from Data
> Transformation Services --> Local Packages, it transfers the right data
> (between 180 and 200 records depending on the day, but NEVER 0 records)
>
> is it permissions? it it something else? (btw, my DTS package doesn't need
> parameters or anything like that)

If you run the package remotely using Enterprise Manager, it runs on the
client machine. However, the package runs on the sever when launched via a
job. Perhaps this is reason for the difference.

--
Hope this helps.

Dan Guzman
SQL Server MVP

"segis bata" wrote in message

> Hello all,
>
> I have this situation, I have a DTS package consisting of a series of data
> transformations and data transfers from our server to remote servers. If I
> execute the DTS from the Data Transformation Services --> Local Packages,
> it runs smoothly without any problems. But, when I schedule that same DTS
> package and have SQL (Server 2000) run it as a task on a daily manner it
> runs "successfully" (according to SQL) but when I see the job history I
> see that no records were transferred even though it says "successfully"
> (which, obviously, isn't)
>
> So, my question is, what could be causing that a DTS package running from
> a Job Task transfers no records and when I run it directly from Data
> Transformation Services --> Local Packages, it transfers the right data
> (between 180 and 200 records depending on the day, but NEVER 0 records)
>
> is it permissions? it it something else? (btw, my DTS package doesn't need
> parameters or anything like that)
>
> Thanks in advance for all your help,
> SB-R
>

 >> Stay informed about: Help! - DTS/Job Task (SQL Server 2000) 
Back to top
Login to vote
Ajay Rengunthwar

External


Since: Jan 17, 2008
Posts: 5



(Msg. 3) Posted: Thu Jan 17, 2008 10:07 pm
Post subject: Re: Help! - DTS/Job Task (SQL Server 2000) [Login to view extended thread Info.]
Archived from groups: microsoft>public>sqlserver>datawarehouse, others (more info?)

On Jan 18, 7:13 am, "Dan Guzman" <guzma...@nospam-
online.sbcglobal.net> wrote:
> > So, my question is, what could be causing that a DTS package running from
> > a Job Task transfers no records and when I run it directly from Data
> > Transformation Services --> Local Packages, it transfers the right data
> > (between 180 and 200 records depending on the day, but NEVER 0 records)
>
> > is it permissions? it it something else? (btw, my DTS package doesn't need
> > parameters or anything like that)
>
> If you run the package remotely using Enterprise Manager, it runs on the
> client machine.  However, the package runs on the sever when launched via a
> job.  Perhaps this is reason for the difference.
>
> --
> Hope this helps.
>
> Dan Guzman
> SQL Server MVP
>
> "segis bata" wrote in message
>
>
>
>
>
> > Hello all,
>
> > I have this situation, I have a DTS package consisting of a series of data
> > transformations and data transfers from our server to remote servers. If I
> > execute the DTS from the Data Transformation Services --> Local Packages,
> > it runs smoothly without any problems. But, when I schedule that same DTS
> > package and have SQL (Server 2000) run it as a task on a daily manner it
> > runs "successfully" (according to SQL) but when I see the job history I
> > see that no records were transferred even though it says "successfully"
> > (which, obviously, isn't)
>
> > So, my question is, what could be causing that a DTS package running from
> > a Job Task transfers no records and when I run it directly from Data
> > Transformation Services --> Local Packages, it transfers the right data
> > (between 180 and 200 records depending on the day, but NEVER 0 records)
>
> > is it permissions? it it something else? (btw, my DTS package doesn't need
> > parameters or anything like that)
>
> > Thanks in advance for all your help,
> > SB-R- Hide quoted text -
>
> - Show quoted text -


Please check the log of the job and the step details.


Thanks
Ajay Rengunthwar
MCDBA,MCTS
 >> Stay informed about: Help! - DTS/Job Task (SQL Server 2000) 
Back to top
Login to vote
Mark T

External


Since: Jan 15, 2008
Posts: 4



(Msg. 4) Posted: Fri Jan 18, 2008 11:49 am
Post subject: Re: Help! - DTS/Job Task (SQL Server 2000) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Jan 17, 5:38 pm, "segis bata" wrote:
> Hello all,
>
> I have this situation, I have a DTS package consisting of a series of data
> transformations and data transfers from our server to remote servers. If I
> execute the DTS from the Data Transformation Services --> Local Packages, it
> runs smoothly without any problems. But, when I schedule that same DTS
> package and have SQL (Server 2000) run it as a task on a daily manner it
> runs "successfully" (according to SQL) but when I see the job history I see
> that no records were transferred even though it says "successfully" (which,
> obviously, isn't)
>
> So, my question is, what could be causing that a DTS package running from a
> Job Task transfers no records and when I run it directly from Data
> Transformation Services --> Local Packages, it transfers the right data
> (between 180 and 200 records depending on the day, but NEVER 0 records)
>
> is it permissions? it it something else? (btw, my DTS package doesn't need
> parameters or anything like that)
>
> Thanks in advance for all your help,
> SB-R

I came across a similar problem when I was moving data from sever A to
server B. I was able to fix this by adding a lag between when the data
was available in server A and when it got pulled by the job into
server B. This may or may not solve your problem but its worth a try.
 >> Stay informed about: Help! - DTS/Job Task (SQL Server 2000) 
Back to top
Login to vote
Mark T

External


Since: Jan 15, 2008
Posts: 4



(Msg. 5) Posted: Fri Jan 18, 2008 3:00 pm
Post subject: Re: Help! - DTS/Job Task (SQL Server 2000) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Jan 18, 2:54 pm, "segis bata" wrote:
> Mark,
>
> can you give me a couple of examples on how to do that lag? thanks!
> SB-R
>
> "Mark T" wrote in message
>
>
>
> > On Jan 17, 5:38 pm, "segis bata" wrote:
> >> Hello all,
>
> >> I have this situation, I have a DTS package consisting of a series of
> >> data
> >> transformations and data transfers from our server to remote servers. If
> >> I
> >> execute the DTS from the Data Transformation Services --> Local Packages,
> >> it
> >> runs smoothly without any problems. But, when I schedule that same DTS
> >> package and have SQL (Server 2000) run it as a task on a daily manner it
> >> runs "successfully" (according to SQL) but when I see the job history I
> >> see
> >> that no records were transferred even though it says "successfully"
> >> (which,
> >> obviously, isn't)
>
> >> So, my question is, what could be causing that a DTS package running from
> >> a
> >> Job Task transfers no records and when I run it directly from Data
> >> Transformation Services --> Local Packages, it transfers the right data
> >> (between 180 and 200 records depending on the day, but NEVER 0 records)
>
> >> is it permissions? it it something else? (btw, my DTS package doesn't
> >> need
> >> parameters or anything like that)
>
> >> Thanks in advance for all your help,
> >> SB-R
>
> > I came across a similar problem when I was moving data from sever A to
> > server B. I was able to fix this by adding a lag between when the data
> > was available in server A and when it got pulled by the job into
> > server B. This may or may not solve your problem but its worth a try.

Something like this in a different step will work: WAITFOR DELAY
'0:03'
 >> Stay informed about: Help! - DTS/Job Task (SQL Server 2000) 
Back to top
Login to vote
segis bata

External


Since: May 01, 2006
Posts: 9



(Msg. 6) Posted: Fri Jan 18, 2008 4:05 pm
Post subject: Re: Help! - DTS/Job Task (SQL Server 2000) [Login to view extended thread Info.]
Archived from groups: microsoft>public>sqlserver>datawarehouse, others (more info?)

Dan,

I know that, that's why when I run it (I should've specified this in my
previous message) I use remote desktop, so I'm running "locally" from within
the same server the job task must run.

But thanks for your pointing that out,
SB-R


"Dan Guzman" wrote in message

>> So, my question is, what could be causing that a DTS package running from
>> a Job Task transfers no records and when I run it directly from Data
>> Transformation Services --> Local Packages, it transfers the right data
>> (between 180 and 200 records depending on the day, but NEVER 0 records)
>>
>> is it permissions? it it something else? (btw, my DTS package doesn't
>> need parameters or anything like that)
>
> If you run the package remotely using Enterprise Manager, it runs on the
> client machine. However, the package runs on the sever when launched via
> a job. Perhaps this is reason for the difference.
>
> --
> Hope this helps.
>
> Dan Guzman
> SQL Server MVP
>
> "segis bata" wrote in message
>
>> Hello all,
>>
>> I have this situation, I have a DTS package consisting of a series of
>> data transformations and data transfers from our server to remote
>> servers. If I execute the DTS from the Data Transformation Services -->
>> Local Packages, it runs smoothly without any problems. But, when I
>> schedule that same DTS package and have SQL (Server 2000) run it as a
>> task on a daily manner it runs "successfully" (according to SQL) but when
>> I see the job history I see that no records were transferred even though
>> it says "successfully" (which, obviously, isn't)
>>
>> So, my question is, what could be causing that a DTS package running from
>> a Job Task transfers no records and when I run it directly from Data
>> Transformation Services --> Local Packages, it transfers the right data
>> (between 180 and 200 records depending on the day, but NEVER 0 records)
>>
>> is it permissions? it it something else? (btw, my DTS package doesn't
>> need parameters or anything like that)
>>
>> Thanks in advance for all your help,
>> SB-R
>>
>
 >> Stay informed about: Help! - DTS/Job Task (SQL Server 2000) 
Back to top
Login to vote
segis bata

External


Since: May 01, 2006
Posts: 9



(Msg. 7) Posted: Fri Jan 18, 2008 4:53 pm
Post subject: Re: Help! - DTS/Job Task (SQL Server 2000) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ajay,

here's what the log said: "Executed as user: usr999xxx. ...te Table
[ourDB].[dbo].[tblABC001] Step DTSRun OnFinish: Create Table
[ourDB].[dbo].[tblABC001] Step DTSRun OnStart: Copy Data from tblABC001
to [ourDB].[dbo].[tblABC001] Step DTSRun OnProgress: Copy Data from
tblABC001 to [ourDB].[dbo].[tblABC001] Step; 0 Rows have been transformed or
copied.; PercentComplete = 0; ProgressCount = 0 DTSRun OnFinish: Copy
Data from tblABC001 to [ourDB].[dbo].[tblABC001] Step DTSRun OnStart:
DTSStep_DTSExecuteSQLTask_1 DTSRun OnFinish: DTSStep_DTSExecuteSQLTask_1
DTSRun OnStart: DTSStep_DTSDataPumpTask_1 DTSRun OnProgress:
DTSStep_DTSDataPumpTask_1; 0 Rows have been transformed or copied.;
PercentComplete = 0; ProgressCount = 0 DTSRun OnFinish:
DTSStep_DTSDataPumpTask_1 DTSRun OnStart: Create Table
[ourDB].[dbo].[tblABC002] Step DTSRun OnFinish: Create Table
[ourDB].[dbo].[tblABC002] Step D... Process Exit Code 0. The step
succeeded."

so, 0 records. No good...


"Ajay Rengunthwar" wrote in message

On Jan 18, 7:13 am, "Dan Guzman" <guzma...@nospam-
online.sbcglobal.net> wrote:
> > So, my question is, what could be causing that a DTS package running
> > from
> > a Job Task transfers no records and when I run it directly from Data
> > Transformation Services --> Local Packages, it transfers the right data
> > (between 180 and 200 records depending on the day, but NEVER 0 records)
>
> > is it permissions? it it something else? (btw, my DTS package doesn't
> > need
> > parameters or anything like that)
>
> If you run the package remotely using Enterprise Manager, it runs on the
> client machine. However, the package runs on the sever when launched via a
> job. Perhaps this is reason for the difference.
>
> --
> Hope this helps.
>
> Dan Guzman
> SQL Server MVP
>
> "segis bata" wrote in message
>
>
>
>
>
> > Hello all,
>
> > I have this situation, I have a DTS package consisting of a series of
> > data
> > transformations and data transfers from our server to remote servers. If
> > I
> > execute the DTS from the Data Transformation Services --> Local
> > Packages,
> > it runs smoothly without any problems. But, when I schedule that same
> > DTS
> > package and have SQL (Server 2000) run it as a task on a daily manner it
> > runs "successfully" (according to SQL) but when I see the job history I
> > see that no records were transferred even though it says "successfully"
> > (which, obviously, isn't)
>
> > So, my question is, what could be causing that a DTS package running
> > from
> > a Job Task transfers no records and when I run it directly from Data
> > Transformation Services --> Local Packages, it transfers the right data
> > (between 180 and 200 records depending on the day, but NEVER 0 records)
>
> > is it permissions? it it something else? (btw, my DTS package doesn't
> > need
> > parameters or anything like that)
>
> > Thanks in advance for all your help,
> > SB-R- Hide quoted text -
>
> - Show quoted text -


Please check the log of the job and the step details.


Thanks
Ajay Rengunthwar
MCDBA,MCTS
 >> Stay informed about: Help! - DTS/Job Task (SQL Server 2000) 
Back to top
Login to vote
segis bata

External


Since: May 01, 2006
Posts: 9



(Msg. 8) Posted: Fri Jan 18, 2008 4:54 pm
Post subject: Re: Help! - DTS/Job Task (SQL Server 2000) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Mark,

can you give me a couple of examples on how to do that lag? thanks!
SB-R

"Mark T" wrote in message

> On Jan 17, 5:38 pm, "segis bata" wrote:
>> Hello all,
>>
>> I have this situation, I have a DTS package consisting of a series of
>> data
>> transformations and data transfers from our server to remote servers. If
>> I
>> execute the DTS from the Data Transformation Services --> Local Packages,
>> it
>> runs smoothly without any problems. But, when I schedule that same DTS
>> package and have SQL (Server 2000) run it as a task on a daily manner it
>> runs "successfully" (according to SQL) but when I see the job history I
>> see
>> that no records were transferred even though it says "successfully"
>> (which,
>> obviously, isn't)
>>
>> So, my question is, what could be causing that a DTS package running from
>> a
>> Job Task transfers no records and when I run it directly from Data
>> Transformation Services --> Local Packages, it transfers the right data
>> (between 180 and 200 records depending on the day, but NEVER 0 records)
>>
>> is it permissions? it it something else? (btw, my DTS package doesn't
>> need
>> parameters or anything like that)
>>
>> Thanks in advance for all your help,
>> SB-R
>
> I came across a similar problem when I was moving data from sever A to
> server B. I was able to fix this by adding a lag between when the data
> was available in server A and when it got pulled by the job into
> server B. This may or may not solve your problem but its worth a try.
 >> Stay informed about: Help! - DTS/Job Task (SQL Server 2000) 
Back to top
Login to vote
Knowledgy

External


Since: Jan 03, 2008
Posts: 56



(Msg. 9) Posted: Tue Feb 12, 2008 5:22 pm
Post subject: Re: Help! - DTS/Job Task (SQL Server 2000) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I believe that when you manually run a dts package the permissions and
rights of your remote desktop login are being used but when the dts job is
executed by a job it uses whatever the permissions of the sqlagent are
(which may be the system account of the server the contains the dts
package).

--
Sincerely,
John K
Knowledgy Consulting
www.knowledgy.org

Atlanta's Business Intelligence and Data Warehouse Experts


"segis bata" wrote in message

> Hello all,
>
> I have this situation, I have a DTS package consisting of a series of data
> transformations and data transfers from our server to remote servers. If I
> execute the DTS from the Data Transformation Services --> Local Packages,
> it runs smoothly without any problems. But, when I schedule that same DTS
> package and have SQL (Server 2000) run it as a task on a daily manner it
> runs "successfully" (according to SQL) but when I see the job history I
> see that no records were transferred even though it says "successfully"
> (which, obviously, isn't)
>
> So, my question is, what could be causing that a DTS package running from
> a Job Task transfers no records and when I run it directly from Data
> Transformation Services --> Local Packages, it transfers the right data
> (between 180 and 200 records depending on the day, but NEVER 0 records)
>
> is it permissions? it it something else? (btw, my DTS package doesn't need
> parameters or anything like that)
>
> Thanks in advance for all your help,
> SB-R
>
 >> Stay informed about: Help! - DTS/Job Task (SQL Server 2000) 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Sql Server 2005 FTP Task - How do you loop through files on a remote server using the FTP Task? The ForEarch Loop won't work because the files are stored on an FTP server which needs a ftp connection string. The ftp task looks like it only works for one file at a time. The file....

SQL Server 2000 AS cubes - Does anyone know if you can exclude tables from a cube in the Analysis Server? Meaning, when creating a cube off of a database and you do not want to include all the DB tables, how can you exclude them? Thanks

SQL Server Courses - I located the following titles and dates of courses being held in Chicago: 2071 Querying Microsoft SQL Server 2000 with Transact-SQL 04-05-07 2071 Querying Microsoft SQL Server 2000 with Transact-SQL 05-14-07 2071 Querying Microsoft SQL Server 2000..

get data from SQL Server to another machine - How can I get data and structure of a table on SQL Server 2000 on a machine to re-build that table on a separated machine? I am building tests and I don't want to mess up with the original one. Thank you, Paul

Running SQL Server accelerator for BI - I am running SQL Server accelerator for BI. When we first generated the time tables for marketing, fiscal and standard we did it until 12/31/2005 now we need to extend the time period and we have not found a way to do it. Anyone can help? We are..
   Database Forums (Home) -> Data Warehouse All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]