COBOL/DB2/CICS co-compiler

Buz W

COBOL/DB2/CICS co-compiler
Need a little help here. I'm trying to figure out how to compile a COBOL/DB2/CICS program using the co-processor of Enterprise COBOL 3.1. I find documentation that very clearly states *NOT* to use COBOL parm SIZE(MAX) and the COBOL manual tells what the minimum value is for SIZE, but I can't find anything to give me a clue what a good SIZE might be; or what REGION size to specify on the compile step.

Every combination I've used so far, I get a message like this:
IGYDS5000-U   The compilation was terminated due to an uncorrectable error condition.
                                                                              
IGYDS5017-U   Compiler storage was exhausted.  Increase the REGION size and/or value in the "SIZE" compiler option and
             recompile.                                
I keep increasing the SIZE option until it gets ridiculously large, at which time COBOL tells me it's too big.

I'm already running the compile with a REGION=0M on the EXEC statement.

What am I doing wrong?

Buz Williams
Dallas, TX                    --------------------------------------------------------------------------------- Welcome to the IDUG DB2-L list. To unsubscribe, go to the archives and home page at http://www.idugdb2-l.org/archives/db2-l.html. From that page select "Join or Leave the list". The IDUG DB2-L FAQ is at http://www.idugdb2-l.org. The IDUG List Admins can be reached at [login to unmask email] Find out the latest on IDUG conferences at http://conferences.idug.org/index.cfm

Joan Stevens

Re: COBOL/DB2/CICS co-compiler
(in response to Buz W)
Buz,
If you reply to me off list, I can send you the test or production proc we
use to compile CICS/COBOL/DB2.
Joan Stevens
DB2 DBA
Binghamton University
[login to unmask email]

_____

From: DB2 Data Base Discussion List [mailto:[login to unmask email] On Behalf
Of Buz
Sent: Friday, December 09, 2005 10:45 AM
To: [login to unmask email]
Subject: [DB2-L] COBOL/DB2/CICS co-compiler


Need a little help here. I'm trying to figure out how to compile a
COBOL/DB2/CICS program using the co-processor of Enterprise COBOL 3.1. I
find documentation that very clearly states *NOT* to use COBOL parm
SIZE(MAX) and the COBOL manual tells what the minimum value is for SIZE, but
I can't find anything to give me a clue what a good SIZE might be; or what
REGION size to specify on the compile step.

Every combination I've used so far, I get a message like this:
IGYDS5000-U The compilation was terminated due to an uncorrectable error
condition.


IGYDS5017-U Compiler storage was exhausted. Increase the REGION size
and/or value in the "SIZE" compiler option and
recompile.
I keep increasing the SIZE option until it gets ridiculously large, at which
time COBOL tells me it's too big.

I'm already running the compile with a REGION=0M on the EXEC statement.

What am I doing wrong?

Buz Williams
Dallas, TX
----------------------------------------------------------------------------
----- Welcome to the IDUG DB2-L list. To unsubscribe, go to the archives and
home page at http://www.idugdb2-l.org/archives/db2-l.html. From that page
select "Join or Leave the list". The IDUG DB2-L FAQ is at
http://www.idugdb2-l.org. The IDUG List Admins can be reached at
[login to unmask email] Find out the latest on IDUG conferences at
http://conferences.idug.org/index.cfm

---------------------------------------------------------------------------------
Welcome to the IDUG DB2-L list. To unsubscribe, go to the archives and home page at http://www.idugdb2-l.org/archives/db2-l.html. From that page select "Join or Leave the list". The IDUG DB2-L FAQ is at http://www.idugdb2-l.org. The IDUG List Admins can be reached at [login to unmask email] Find out the latest on IDUG conferences at http://conferences.idug.org/index.cfm

Mike Bell

Re: COBOL/DB2/CICS co-compiler
(in response to Joan Stevens)
disclaimer - I am running 5655-G53 IBM Enterprise COBOL for z/OS 3.3.0. and
it is a batch program no CICS.

I can compile with either CBL size(max) and region=0M (this uses almost 1.7G
of address space to run - check with your MVS people on MVS exit IEFUSI
settings for max memory allocations).
and CBL SIZE(8192K) and region=0M.

The program is about 27K lines of mostly dynamic SQL

Things to remember - there are a lot of PTF's out there for the coprocessor.
I have a program that precompiles correctly with the stand alone precompilor
and fails with the co-processor. (fails on an execute immeditate SQL and I
never got to the bottom of the problem). Second issue is the co-processor
marks everything as ccsid 1141 unless you over-ride it. When you process
on V8, you have lots of options for conversion failures and lots of run time
conversions between CCSID's for every char and varchar column.

Mike Bell
HLS Technologies

-----Original Message-----
From: DB2 Data Base Discussion List [mailto:[login to unmask email] On Behalf
Of Buz
Sent: Friday, December 09, 2005 9:45 AM
To: [login to unmask email]
Subject: [DB2-L] COBOL/DB2/CICS co-compiler

Need a little help here. I'm trying to figure out how to compile a
COBOL/DB2/CICS program using the co-processor of Enterprise COBOL 3.1. I
find documentation that very clearly states *NOT* to use COBOL parm
SIZE(MAX) and the COBOL manual tells what the minimum value is for SIZE, but
I can't find anything to give me a clue what a good SIZE might be; or what
REGION size to specify on the compile step.

Every combination I've used so far, I get a message like this:
IGYDS5000-U The compilation was terminated due to an uncorrectable error
condition.


IGYDS5017-U Compiler storage was exhausted. Increase the REGION size
and/or value in the "SIZE" compiler option and
recompile.
I keep increasing the SIZE option until it gets ridiculously large, at which
time COBOL tells me it's too big.

I'm already running the compile with a REGION=0M on the EXEC statement.

What am I doing wrong?

Buz Williams
Dallas, TX
----------------------------------------------------------------------------
----- Welcome to the IDUG DB2-L list. To unsubscribe, go to the archives and
home page at http://www.idugdb2-l.org/archives/db2-l.html. From that page
select "Join or Leave the list". The IDUG DB2-L FAQ is at
http://www.idugdb2-l.org. The IDUG List Admins can be reached at
[login to unmask email] Find out the latest on IDUG conferences at
http://conferences.idug.org/index.cfm


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003


---------------------------------------------------------------------------------
Welcome to the IDUG DB2-L list. To unsubscribe, go to the archives and home page at http://www.idugdb2-l.org/archives/db2-l.html. From that page select "Join or Leave the list". The IDUG DB2-L FAQ is at http://www.idugdb2-l.org. The IDUG List Admins can be reached at [login to unmask email] Find out the latest on IDUG conferences at http://conferences.idug.org/index.cfm