Execute a DTS Package from QA

Hi there,

I have a DTS package called: ImportNewFSLData. How do I execute this from a script I have in QA?



Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Guy Hengel [angelIII / a3]Billing EngineerCommented:
The simplest way:
schedule the dts package, go to the job and remove the schedule, and in the QA just start the job using:
sp_start_job 'job_name'

with the scheduled job, you can see how you could start the dts via QA: the job contains the command line (DTSRUN.EXE ...), use xp_cmdshell to run that command from QA.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
LoveToSpodAuthor Commented:

schedule the dts package - DONE
go to the job and remove the schedule - Where is the 'Job'?

Sorry, acting like a REAL novice...

Guy Hengel [angelIII / a3]Billing EngineerCommented:
>go to the job and remove the schedule - Where is the 'Job'?
in the enterprise Manager, find the SQL Server Agent folder, below that you have jobs...
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.