我正在SSIS商店中使用带有参数文件的命令行中的dtexec运行SSIS 2012项目。
命令行是:
dtexec /cons /com param_file.txt
包执行并完成,但/ cons参数没有任何效果。有和没有它的结果相同。作业提交并返回命令提示符。
我期待的是执行日志,而不仅仅是提交报告。这就是我得到的:
Microsoft (R) SQL Server Execute Package Utility
Version 11.0.2100.60 for 64-bit
Copyright (C) Microsoft Corporation. All rights reserved.
Started: 10:30:34 AM
Execution ID: 10087.
To view the details for the execution, right-click on the Integration Services Catalog, and open the [All Executions] report
Started: 10:30:34 AM
Finished: 10:30:34 AM
Elapsed: 0.531 seconds
C:\SSIS\CDA>
以下是param_file.txt的内容(xxx代替了可能反对发布的权力的任何内容)
/ISSERVER "\SSISDB\CDA\xxx_Update\xxx_Updatexxx.dtsx"
/SERVER "xxx"
/Par $Project::Log_ServerName;"xxx"
/Par $Project::Log_InitialCatalog;"xxx"
/Par $Project::Log_UserName;xxx
/Par $Project::Log_Password;xxx
/Par RS_ServerName;xxx
/Par RS_InitialCatalog;xxx
/Par RS_UserName;xxx
/Par RS_Password;xxx
/Par CDA_ServerName;xxx
/Par CDA_InitialCatalog;xxx
/Par CDA_UserName;xxx
/Par CDA_Password;xxx