chokka
asked on
Execute .dtsx file from .bat ( Execute SSIS Package from MS DOS Batch file )
How to execute a SSIS Package from MS DOS batch file?
ASKER
I wrote a batch file .. !
But it is not generating the excel sheet.
But it is not generating the excel sheet.
'dtexec /f "C:\MedISReports\SalisburyExportExcelCC01.dtsx"'
Have you had a look at the output of the command to ensure that it is not erroring?
ASKER
Its running .. but i am not getting the output.
Do you suggest me to keep PAUSE keyword in dos command .. ?
Do you suggest me to keep PAUSE keyword in dos command .. ?
No, you should be getting an output of some kind. The package should at least be validated before it is executed.
This is just a dtsx file. Its not stored in a SQL Server somewhere is it?
This is just a dtsx file. Its not stored in a SQL Server somewhere is it?
ASKER
Do you have any sample batch file to execute .dtsx file ?
i thought executing .dtsx file as similar to executing .exe file.
i thought executing .dtsx file as similar to executing .exe file.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
EvilPostit ..!
dtexec /f "C:\MedISReports\Salisbury ExportExce lCC01.dtsx "
The difference between your code and my code is .. i have single quote .. which you dont have.
dtexec /f "C:\MedISReports\Salisbury
The difference between your code and my code is .. i have single quote .. which you dont have.
http://msdn.microsoft.com/en-us/library/ms162810.aspx