(ZOS) Hexadecimal conversion of Java error codes
Occasionally, Java will take an WebSphere Application Server for z/OS error code (C9C2xxxx in hexadecimal) and convert it to a very large negative number. If we get a very large negative number, try converting it back to hexadecimal to find the correct code.
To convert the error codes back to hexadecimal we must add 232 to the negative number and convert it into hexadecimal. This can be done using the OMVS command.
bcExample: Suppose we get the error code "910022649":
- Under OMVS, type the command:
bc- Then type:
obase=16 2^32 - 910022649 quitThe bc program displays C9C22807, which is the hex value that we should look up.
View error log contents through the Log Browse Utility (BBORBLOG) Choosing diagnostic information sources