Kbase P102478: Progress batch files exit with wrong errorlevel
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  3/24/2005 |
|
Status: Unverified
FACT(s) (Environment):
Progress 9.1x
OpenEdge 10.0A
Windows
SYMPTOM(s):
Progress batch files exit with wrong errorlevel
On Windows platforms the batch files exit with the wrong error code
echo %errorlevel% always returns 1 after running a Progress batch file
CAUSE:
Bug# 20040211-017
FIX:
Upgrade to OpenEdge 10.0B or later.
- OR -
Modify the corresponding batch file.
As an example sqlexp.bat is used to illustrate the required modifications.
- Add SETLOCAL at the beginning, for example:
@echo off
SETLOCAL
REM Progress SQL Explorer Startup script
- Comment out the last lines, for example:
:END
REM set JVMSTRT=
REM set EXEFILE=
REM set PARMS=
REM set JCP=