Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

ExecuteProcessTask is not calling bat file?

$
0
0

Hi All,

I have SSIS package which contains execute process task which calls bat file. The bat file contains the below code. In execute process task, i have selected this filename(C:\StartStopPublication\ICRV_STOP.bat) as executable.

@echo off
:Begin
setlocal

SET CLASSPATH=C:\Program Files\Java\jdk1.7.0_03\lib;C:\StartStopPublication\lib;

@echo off
java -Djava.ext.dirs=./lib/ StartStopPublication ogrdsdevuser ogrdsdevpwd Stop CA1 ICRV >MessageID.txt
exit 0

Iam trying to call batch(.bat) file from SSIS of executeProcess task. But The batch file is not triggered when i tried to execute this package. If SSIS execute process task calls this batch file which can write a messageID into text file, it is not happening.

if i run this batch file from command prompt, it is working fine.

Could you please suggest me what i did wrong here.


Thanks & Regards, Anil


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>