Skip to main content

Hi,

I would like to create a core dump, but it doesn't work.

I set the core_on_error to 1 and in a second try to 2, but there is no cora dump
after a divide by 0 in a cobol-program.

What is to do to create a core dump?
We are using Server Express.

Regards,

Michael

 

 

 

Hi,

I would like to create a core dump, but it doesn't work.

I set the core_on_error to 1 and in a second try to 2, but there is no cora dump
after a divide by 0 in a cobol-program.

What is to do to create a core dump?
We are using Server Express.

Regards,

Michael

 

 

 

What version of Server Express are you using and on what OS?

In addition to adding the core_on_error tunable to the cobconfig file you also need to set the COBCONFIG environment variable to point to this file.

example:

COBCONFIG=$HOME/myconf

export COBCONFIG

For the divide by zero, are you receiving a RTS error when this occurs?

If not then you might have to set the CHECKDIV directive to a value that will cause an actual RTS error to be displayed.

By default it simply is a handled error with an undefined result.

Thanks.