>>---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 affects native applications that are built to an executable or shared object; it will not affect JVM COBOL programs. Programs built to INT/GNT format will generate a stackdump file; however, the stack trace does not provide any information about those files.
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.