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 ?
karthikramAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

J2811Commented:
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.

regards,
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.
imran_fastCommented:
Need more information about what you were doing?
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

karthikramAuthor Commented:
Ok,
  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
J2811Commented:
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,

being,

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?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
karthikramAuthor Commented:
I tried number 2 but didnt actually work, I will try the 1st option
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.