Procob Core Dumps with Large Source Files or Large Number of Host Variables.

(Doc ID 1228174.1)

Last updated on JULY 05, 2017

Applies to:

Precompilers - Version: 10.2.0.4 and later   [Release: 10.2 and later ]
Information in this document applies to any platform.

Symptoms

Pro*COBOL core dumps when the source file is large or there are a large number of host variables.

The error stack from the core file is:

(Version 9i or 10g)
pcbstxr, pcblgen, pcbmain

or

(Version 11g)
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
File Length

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.

Changes

Increased the size of the source file or increased the number of host variables.

Cause

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