From: miguel.laiz on
Hi all!

First, I'm not sure if I've directed this post to the correct groups
of COBOL and DB2. My apologies in that case.

Question:

I know that during precompilation and compilation of a cobolprogram
that contains SQL-statements, there are usually a bunch of
hostvariables (made from declgen) along with the copy SQLCA and
sometimes also one or several SQLDA:s.

I've been looking around and can't seem to find in which library /
libraries the actual source copy-book(s) of SQLCA och SQLDA are
located. I'm guessing either in the core compiler libraries or in the
DB2 installation.

I have also checked the what joblibs that are provided in the
compilation JCL.
Joblibs: IGY.SIGYCOMP, CEE.SCEERUN

Mostly out of curiousity I'd like to know the location(s) from where
the compiler gets (include / copy) the copybooks for DB2, CICS and
such.

Versions:

Z/os 1.9.0
DB2 8.1
Enterprise Cobol 3.4.1

Cheers
Miguel