unhandled exception ('cobol runtime code :253')

Got unhandled exception ('Cobol runtime code :253') occurred in [20452] cblxecwm.exe.

Need solution.

  • 0

    In addition to my question. I Used Visual Studio 2022.

  • 0   in reply to 

    Hi Kausar,

    What is it that your program is doing when this error occurs?

    cblexecwm.exe is the program which handles calls to CBL_EXEC_RUN_UNIT, which is used to launch a new COBOL process and RTS error 253 means:

    COBRT253 Cannot load file - unsupported format (Fatal)

    The file specified is not recognized as a format that the run-time system can load and execute.
    What type of program is it that you are trying to launch? Is it 32-bit or 64-bit?
    Thanks

    Chris Glazier
    Rocket Software - Principal Technical Support Specialist
    If you found this post useful, give it a “Like” or click on "Verify Answer" under the "More" button

  • 0 in reply to   

    It's 64 bits. Infact the existing programs are running successfully in 3.1 version. We are now in the process of upgrading SQL SERVER 2012, Visual COBOL 9.0+ under Visual Studio 2022. all programs compiled successfully with minor code changes. We are trying to run in without Debugging mode.

  • 0   in reply to 

    But what is the program doing when this error occurs? On what COBOL statement does the error occur?
    Does the error occur when you are debugging the application also?

    Is this a graphical application or a console based one?

    Chris Glazier
    Rocket Software - Principal Technical Support Specialist
    If you found this post useful, give it a “Like” or click on "Verify Answer" under the "More" button