Re: Exception.txt.dest being overwritten on multiple calls to the same package
From: Allan Mitchell (allan_at_no-spam.sqldts.com)
Date: 02/26/04
- Next message: Ratna Garapati: "Re: CRAXDRT Problem..."
- Previous message: Allan Mitchell: "Re: Migrating DTS Local Package from test to production environments v7.0"
- In reply to: John Kotuby: "Re: Exception.txt.dest being overwritten on multiple calls to the same package"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 26 Feb 2004 15:31:19 -0000
What you could do is
COPY drive\folder\*.txt outputfileName.txt
-- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.allisonmitchell.com - Expert SQL Server Consultancy. www.SQLDTS.com - The site for all your DTS needs. I support PASS - the definitive, global community for SQL Server professionals - http://www.sqlpass.org "John Kotuby" <jkotuby@snet.net> wrote in message news:evPtBUH$DHA.2664@TK2MSFTNGP09.phx.gbl... > Thank you for your reply Alan. I had considered that option, but I was > hoping there was a way to combine the .dest files (and .source files too) > for each iterated package. My migration program actually consists of 10 > packages that iterate thru as many as 20 company/division records. That > would result in 400 files to wade through to look at the exception records > rather than just 40. I suppose I can create a final task that combines the > similar files by name pattern, or better yet, loads them all into SQL > Exception tables for easier inspection. > > Thanks again > > "Allan Mitchell" <allan@no-spam.sqldts.com> wrote in message > news:efCDbWD$DHA.1212@TK2MSFTNGP12.phx.gbl... > > Can you not programmatically do this > > > > So > > > > In each iteration you set a new value for the .ExceptionFileName property > of > > the DataPump task? > > > > > > -- > > > > Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) > > www.allisonmitchell.com - Expert SQL Server Consultancy. > > www.SQLDTS.com - The site for all your DTS needs. > > I support PASS - the definitive, global community > > for SQL Server professionals - http://www.sqlpass.org > > > > > > "John Kotuby" <jkotuby@snet.net> wrote in message > > news:Ot2mID8%23DHA.916@TK2MSFTNGP10.phx.gbl... > > > I have a data migration package that pulls data from DBF files located > in > > > different folders on disk and loads the data into a single SQL table. > The > > > package is called from another package containing an ActiveX Script > which > > > sets Global Variables that tell the called package where the next DBF > file > > > resides. > > > > > > I have noticed that the Exception.txt file is appended to for each call, > > so > > > that I can see the exceptions that occur for each and every DBF file. > > > However, it appears that the associated Exception.txt.dest and > > > Exception.txt.source files are overwritten with each call to the > package. > > So > > > if I transform 6 different DBFs, only the exception rows from the last > DBF > > > are recorded. > > > > > > I can't find any setting in the graphical package designer to specify to > > > append rather than overwrite. Is there a Package property that I can set > > in > > > code (from the calling ActiveX Script) to solve this problem. > > > > > > Thanks > > > > > > > > > > > >
- Next message: Ratna Garapati: "Re: CRAXDRT Problem..."
- Previous message: Allan Mitchell: "Re: Migrating DTS Local Package from test to production environments v7.0"
- In reply to: John Kotuby: "Re: Exception.txt.dest being overwritten on multiple calls to the same package"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|