APAR status
Closed as program error.
Error description
wsadmin.bat script on UNIX doesn't pass return code to Windows
like wsadmin.sh script does on UNIX systems.
In wsadmin.sh, the last line is:
exit $?
This passes the return code ( $? ) to the parent process when
the wsadmin script exits.
There is no line like this in the wsadmin.bat file. If the
following line is added to the end of the wsadmin.bat file:
exit %ERRORLEVEL%
It then returns the return code like the UNIX script does.
Local fix
Add
exit %ERRORLEVEL%
to end of wsadmin.bat script.
Problem summary
****************************************************************
* USERS AFFECTED: Websphere Application Server 5.0.2.x and *
* 5.1.x users who use wsadmin JACL scripts *
* and expect a return code after it *
* completes, to determine whether or not *
* to increase debugging levels. *
****************************************************************
* PROBLEM DESCRIPTION: In Websphere Application server *
* 5.1.x and 5.0.2.x wsadmin.bat does *
* not receive the Operating System *
* return code from a Microsoft Windows *
* system. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
The wsadmin.sh script on UNIX systems ends with:
exit $?
This passes the return code ( $? ) to the parent process when
the wsadmin script exits. But wsadmin.bat does not have any
line like this to receive the Operating System return code from
a Microsoft Windows system.
Problem conclusion
Added code that that passes the return code to the parent
process when the wsadmin.bat exits
The fix for this APAR is currently targeted for inclusion
in fixpack 5.0.2.11 and 5.1.1.5.
Please refer to the recommended updates page for delivery
information:
http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix Comments
APAR information |
APAR number |
PK01435 |
Reported component name |
WAS BASE 5.0 |
Reported component ID |
5630A3600 |
Reported release |
00W |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2005-02-21 |
Closed date |
2005-04-12 |
Last modified date |
2005-05-17 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Publications Referenced
|
Fix information |
Fixed component name |
WAS BASE 5.0 |
Fixed component ID |
5630A3600 |
Applicable component levels |
R003 PSY |
UP |
R00A PSY |
UP |
R00H PSY |
UP |
R00I PSY |
UP |
R00P PSY |
UP |
R00S PSY |
UP |
R00W PSY |
UP |
R103 PSY |
UP |
R10A PSY |
UP |
R10H PSY |
UP |
R10I PSY |
UP |
R10P PSY |
UP |
R10S PSY |
UP |
R10W PSY |
UP |
|