Runtime error of National Language Initialization not set up correctly in docker

We have recently upgraded to docker image of Visual Cobol DevHub 8.0 (Patch Update 9) from DevHub 7. and we are getting below error when while calling .int compiled module.

execution error : file 'server/bin/module.int'
error code: 40, pc=5F, call=1, seg=0
40 National Language Initialization not set up correctly

I have verified that LANG is set as en_us which is available in /opt/microfocus/VisualCOBOL/LANG folder.

Please suggest the solution to resolve this issue.

  • Suggested Answer

    0  

    Hi Priya Nambi,

    I have a couple of suggestions for things to try for this issue. First, you mentioned having set LANG to "en_us". The folder that's provided with the Visual COBOL product is actually named "en_US" (where US is upper case.) So you might try setting LANG to that value.

    If setting LANG to  "en_US" does not resolve the issue, could you let me know the complete output of running the "locale" command while your LANG variable is set?

    Also, please let me know:

    • what O/S this is on (output of "cat /etc/redhat-release" or similar...)
    • the output of running the command "cob -V" to show detailed version information for the Visual COBOL product.

    Hope this helps,

    Blair