Wrox Programmer Forums
|
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 October 2nd, 2003, 10:17 AM
Registered User
 
Join Date: Sep 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default DTSRUN problem

I ran the following code which I generated from dtsrunui and executed in a dosshell (NT 4.0 sp6). The error listing follows in the next section.

All the package is trying to do is connect to a DB2 database and query a table on a daterange and append the result set to a SQL Server 2k table.

Could someone point me to a good source of info on interpreting the dtsrun errors or explain to me what happened here so I can fix?

Also, when you run dtsrun out of a batch file or dosshell, the job does not terminate the session even though dtsrun says it has completed. I figure there is a switch for this (I hope).

Any help would be appreciated.
################################################## #########

DTSRun /N "tbl0210ProviderInq" /G "{762C27BF-F4D8-11D7-97AE-000802206445}" /F "G:\Data\Loaders\tbl0210ProviderInq.dts" /L "D:\dtslogger.txt" /A "StartDate":"7"="10/01/2003" /A "EndDate":"7"="10/01/2003" /W "0"

################################################## #########
The execution of the following DTS Package succeeded:

Package Name: tbl0210ProviderInq
Package Description: tbl0210ProviderInq Appender
Package ID: {762C27BF-F4D8-11D7-97AE-000802206445}
Package Version: {762C27C8-F4D8-11D7-97AE-000802206445}
Package Execution Lineage: {F7ECF6E7-F4E7-11D7-97AE-000802206445}
Executed On: wu212jyhxa757
Executed By: GBrockman
Execution Started: 10/02/2003 10:51:57 AM
Execution Completed: 10/02/2003 10:52:10 AM
Total Execution Time: 12.485 seconds

Package Steps execution information:


Step 'Copy Data from Results to [telephone_rpt].[dbo].[tbl0210ProviderInq] Step' failed

Step Error Source: Microsoft OLE DB Provider for ODBC Drivers
Step Error Description:[IBM][CLI Driver][DB2] SQL0514N The cursor "SQLCURCS297 " is not in a prepared state. SQLSTATE=26501

Step Error code: 80004005
Step Error Help File:
Step Error Help Context ID:0

Step Execution Started: 10/02/2003 10:51:57 AM
Step Execution Completed: 10/02/2003 10:52:00 AM
Total Step Execution Time: 2.469 seconds
Progress count in Step: 0
************************************************** **************************************************







Similar Threads
Thread Thread Starter Forum Replies Last Post
dtsrun problem. soonyu SQL Server DTS 2 May 11th, 2004 04:27 PM
Passing date parms into a DTS pkg with dtsrun gbrockman SQL Server DTS 2 October 26th, 2003 05:54 PM





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