@echo OFF
SETLOCAL

call %FUNCTIONS% :stopOSPL

call %FUNCTIONS% :startOSPL

echo "== Launching Listener "
start "" /B java -classpath "%OSPL_HOME%\jar\dcpssaj5.jar";classes ListenerDataSubscriber > subResult.txt
%SLEEP2% >NUL

java -classpath "%OSPL_HOME%\jar\dcpssaj5.jar";classes ListenerDataPublisher > pubResult.txt

call %FUNCTIONS% :listenerCheckResults >> run.log
