»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 08-26-2003, 09:07 AM   #1 (permalink)
Registered User
 
Join Date: Aug 2003
Posts: 4
srinivas_mca2k is on a distinguished road

hai,

i want to create a DTS package, as a part of whole tasks i want to

perform the following task.

There is a Source file in text format and i want to import data into

SQL Server 2000 table. If the file exists, the DTS is running

successfully. If the file does not exist or the volume of the file is

ZERO, the DTS stops at that point of task and giving as 'DTS failed' and

is storing as failed jobs.

But actually i don't want to happen like this. If the file does not

exist or the volume is zero, the DTS should stop at that task and should

not execute remaining subseqent tasks. More specifically i want to do

the following one:

check if source file exist or not.

if it exists

go to the next step of the DTS (i.e importing data from the source

file to SQL Server)

otherwise (the file not exists or the volume of the file is Zero)

The DTS should stop there and should return success.

for a week, i am trying to catch this one. i have scheduled my package.

every time when it runs, its completing successfully if the file exist.

other wise, its giving

"Error string: Error creating datafile mapping: The volume for a

file has been externally altered so that the opened file is no longer

valid. Error source: Microsoft Data Transformation Services

Flat File Rowset Provider "

and stored into failed jobs.



Please solve my prob.



Thanks & Regards,
Venkata Srinivasa Rao Challa,
Bangalore.

srinivas_mca2k is offline   Reply With Quote
Old 08-26-2003, 09:18 AM   #2 (permalink)
Registered User
 
Join Date: Oct 2001
Location: TOO close to Wash DC
Posts: 7,956
vass0922 is on a distinguished road
Did you put a workflow control on it?

You can specify if it fails go this way, if there is success go that way.

If it fails have it send an email or something of that sort.

Welcome to TechIMO
__________________
<< Insert exceedingly large and overly verbose message of how 1337 you are here including full specs of every vehicle you've ever driven and PC you've owned >>
vass0922 is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 06:02 AM.