Skip to main content

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

Need solution.

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

Need solution.

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


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

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

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

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.


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.

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?