Search code examples
c++xlc

What does `1587-163` mean from the IBM XL C/C++ compiler


I've compiled some code with the IBM XL C/C++ compiler v13.1.6 (13.01.0006.0000). My program is ending by printing the message

1587-163

Without any additional information.

What does this mean?


Solution

  • The IBM XL C/C++ compiler might issue a runtime error message code without additional information if a nondefault method of installation or configuration was used. 1587 means the error was from the SMP runtime component.

    In this case, set the NLSPATH environment variable to point to the location of the message catalogue. Find more information at Knowledge Center.

    After NLSPATH is set, you should have a complete error message such as:

    1587-163 Error encountered while attempting to execute on the target device 1. The program will stop.