»  Forums
Minimize FLCAUG Discussion Forums
Print  
 
Subject: Executing JAVA script from JMO
You are not authorized to post a reply.
Author Messages

tspeaks

New MemberUser is Offline
Posts:1

07/06/2007 9:09 AM Alert 
We have been trying to submit a script with a JAVA command line in it, with out much success. Here is the script, any help would be much appreciated.

The first part will execute but it stops at the JAVA command.


set Log= E:\Honeycomb\clients\CVG\Production\Import\ImportEmployees\CVG_batch.log
set ErrorLog= E:\Honeycomb\clients\CVG\Production\Import\ImportEmployees\CVG_batch_error.log

rem ------------------------------------- Start Logging --------------------------------------------
echo. >> %Log%
echo ************************************************* >> %Log%
echo *%DATE%%TIME% Starting CVG ImportEmployees >> %Log%



rem ------------------------ Run the searchString console app ------------------------------
E:\Honeycomb\Java_1.5\bin\java -jar "E:\Honeycomb\runtime\V1\Honeycomb.jar" ImportEmployees
IF NOT %ERRORLEVEL% == 0 (
echo * ERROR=%ERRORLEVEL% >> %Log%
goto consoleError
)


:SUCCESSFUL
echo *%DATE%%TIME% CVG ImportEmployees successful >> %Log%
goto END
You are not authorized to post a reply.
Forums > Discussion Forums > Unicenter Topics > Executing JAVA script from JMO



ActiveForums 3.6
 
     
Date » 17 May, 2008    Copyright 2002-2008 by RavenSystems & FL CA Users Group Login : Register
Inspired by Nina