1

我正在使用带有参数文件的命令行中的 dtexec 在 SSIS 商店中运行 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
4

0 回答 0