>>---set stackdump_on_error=--.-1-.--------->< +-0-+
1 | A file is created when a program generates a run-time error. The file contains a stack trace for each thread in the program.
The default filename is <program-basename>.stackdump.<process-id>.log, which is created in the program's working directory. You can override the default filename and location using the stackdump_filename tunable. |
0 | No file is created when a program generates a run-time error. |
Default: | 0 |
IDE equivalent: | None |
This tunable only affects native applications that are built to an executable; it will not affect managed COBOL programs, or programs built to INT/GNT format.
This option is processed at the same time as an error message is produced. If core_on_error is also specified, core file processing is performed first, which means that if a core file is to be created, a stackdump file is only produced when core_on_error is set to 3.