SQL 2005 DTS to SSIS command line parameters

I have this command line which i am trying to convert from DTS to SSIS

SET @command_line = ' /Ser SRV21  /U "***" /P "*****" /SQ "Archive Data" /Set "Account_Number":"8"="' + @account_number + '"

/Set "File_Name":"8"="C:\Inetpub\wwwroot\output\' + @account_number + '.mdb" /Set "Begin_Date":"7"="' +

@begin_date + '" /Set "End_Date":"7"="' + @end_date + '" '

What am i missing here ?
Who is Participating?
I am no expert but,

Erm, not entirely sure, but there are already some suggestion in the error description that you posted, please let know if you have tried it,


1. Prefix Account_Number with your package name? For example, package name is ABC, do a "ABC.Account_Number"?
2. Prepend "\package" to the pacakage path?

Have you tried the above?

maybe care to share what is the error message, and what component of DTS contains that line?

how are you converting the DTS?

more info needed for informed advice.

karthikramAuthor Commented:
it says the account number i enter is wrong. I have converted the modules without any isses just that the command line
does not work very well.
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Need more information about what you were doing?
karthikramAuthor Commented:
  With the above command i pass three parameters account number, begin and end date . I managed to get the correct format using the Ececute Pakage utility with SSIS .

This is the updated command line string

/DTS "\File System\Archive Data" /SERVER SRV21 /MAXCONCURRENT " -1 " /CHECKPOINTING OFF  /REPORTING EW  /SET "Account_Number";"'00001'" /SET "File_Name";"' C:\Inetpub\wwwroot\output\'" /SET "Begin_Date";"'04/03/2006'" /SET "End_Date";"'04/04/2006'"
karthikramAuthor Commented:
ok forgot to add the error

Microsoft (R) SQL Server Execute Package Utility
Version 9.00.1399.06 for 32-bit
Copyright (C) Microsoft Corp 1984-2005. All rights reserved.

Started:  9:52:49 AM
Warning: 2006-04-05 09:52:51.58
   Code: 0x80012018
   Source: Archive Data
   Description: The configuration entry, "Account_Number", has an incorrect form
at because it does not begin with the package delimiter. Prepend "\package" to t
he package path.
End Warning
Warning: 2006-04-05 09:52:51.58
   Code: 0x80012017
   Source: Archive Data
   Description: The package path referenced an object that cannot be found: "Acc
ount_Number". This occurs when an attempt is made to resolve a package path to a
n object that cannot be found.
End Warning
DTExec: Could not set Account_Number value to '00001'.
Started:  9:52:49 AM
Finished: 9:52:51 AM
Elapsed:  2.172 seconds
karthikramAuthor Commented:
I tried number 2 but didnt actually work, I will try the 1st option
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.