Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server DTS
|
SQL Server DTS Discussion specific to Data Transformation Service with SQL Server. General SQL Server discussions should use the general SQL Server forum. Readers of the book Professional SQL Server 2000 DTS with questions specific to that book should post in that book forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server DTS section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 16th, 2007, 06:18 AM
Registered User
 
Join Date: Jul 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default DTS package Global Var's

Hi pals,

I need some help.

There are 2 DTS packages in my application.
Both the DTS packages are supplied some global params.

Basically, what is happening is that, if i right click on DTS pkg1 in DTS Designer and set the global params,
the Pkg is running fine. In my DTS pkg1, the last step to be executed is, i need to execute a SQL task which will call
a stored procedure with 5 global params. But what's happening is, the DTS pkg1 is successful in executing all the stuff inside pkg1
but failed to call the stored procedure which is responsible for calling 2nd DTS pkg. Why it so happened.

At the same time,what i have done is that i tried to execute the DTS pkg2 also independently by supplying static values inside DTS designer
to the global var's.Its working fine.

My question, why the DTS pkg1 failed to call DTS pkg2.

I even went to the Windows Event Viewer.
The error i got is :

Event Type: Warning
Event Source: SQLSERVERAGENT
Event Category: Job Engine
Event ID: 208
Date: 7/16/2007
Time: 4:06:46 PM
User: N/A
Computer: FRANKY
Description:

SQL Server Scheduled Job 'CF1E86D6-8B0B-4E06-B91A-1EE98AF9FE59' (0x3664D5FC4618A941B9C5A374AEEC5640) - Status: Failed - Invoked on: 2007-07-16 16:06:45 - Message: The job failed. The Job was invoked by User <DOMAIN>\FRANKY. The last step to run was step 1 (Execute DTS).

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.



Now what i need is how to debug this,
Is there any in SQL Server once the stored procedure responsible for calling DTS pkg2 frm DTS pkg1 is called , is there any provision to print the values
received by each package on my the server.

How to debug such kind of issues.

Any suggestions are appreciated.

Thanks and Regards,
franky







Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with DTS PACKAGE mxwebb SQL Server DTS 1 November 28th, 2007 05:16 PM
DTS PACKAGE QUESTIONS girl SQL Server DTS 0 June 6th, 2007 02:58 AM
question on DTS package kpshende SQL Server 2000 0 April 22nd, 2006 07:08 AM
DTS Package failing ros1188 SQL Server DTS 1 August 17th, 2005 08:27 AM
Scheduling DTS Package chiefg SQL Server DTS 11 April 30th, 2004 11:18 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.