Procob Core Dumps with Large Source Files or Large Number of Host Variables.
Last updated on JULY 05, 2017
Applies to:Precompilers - Version: 10.2.0.4
Information in this document applies to any platform.
The error stack from the core file is:
(Version 9i or 10g)
pcbstxr, pcblgen, pcbmain
msort_with_tmp, msort_with_tmp, msort_with_tmp, msort_with_tmp,
msort_with_tmp, qsort, pcbstxr, pcblgen, pcbmain, main
There can be issues when the source file is large:
Pro*COBOL Programmer's Guide 10g Release 2 (10.2)
2 Precompiler Concepts
Pro*COBOL cannot process arbitrarily long source files. Some of the variables used internally limit the size of the generated file. There is no absolute limit to the number of lines allowed, but the following aspects of the source file are contributing factors to the file-size constraint:
* Complexity of the embedded SQL statements (for example, the number of bind and define variables)
* Whether a database name is used (for example, connecting to a database with an AT clause)
* Number of embedded SQL statements
To prevent problems related to this limitation, use multiple program units to sufficiently reduce the size of the source files.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms