This project is read-only.

passing more than one package param_ syntax (possible?)

Topics: Developer Forum, Project Management Forum, User Forum
Nov 15, 2010 at 10:55 PM

Hi,

I'm wondering if it is possible to pass more than one package parameter? I've put each argument on a seperate line for readability. The arguement in question begins with /FILE...

DTLoggedExec.exe

/LE:E,POE,PRE,T

/FILE:"C:\path\some.dtsx" /Param:"FolderEnumeratorPath;C:\TST\" /Param:"LogFilePath;C:\TST\" 

/LP:DTLoggedExec.LogProviders.CSVLogProvider

/LPA:"FILE=C:\path\{filename}_{date}_{time}.dtsCSVLog"

This is producing the following snippet of output:

Configuring package with commandline-specified values...
DTLoggedExec Parameters:
        \Package.Variables[User::param_FolderEnumeratorPath].Properties[Value] = C:\TST" /Param:LogF
ilePath
SSIS Set Value:
        No values found.
...Done.

My concern is the LogFilePath param_ does not appear to be set. Is this possible to set two package params?

Brett

Jan 7, 2011 at 1:26 PM

Sure, you just have to use /Param option as may times as you need to define your parameter values, eg:

/Param:"Param1;Value1" /Param:"Param2;Value2"

Enjoy!