View previous topic :: View next topic
|
Author |
Message |
Arun Aravind
New User
Joined: 20 Jun 2008 Posts: 14 Location: Bangalore
|
|
|
|
Hi..
Can anyone please tell me the location of SQLCA.I have tried searching the DB2 datasets DSN810.* .I would like to know the default location of SQLCA file. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
It is not clear what you want to know. The SQLCA is not something to be found in the db2 datasets. It is not a file (unless we are talking about 2 different things).
The SQLCA is a structure provided by db2 to facilitate interaction between the application sql code and the database system.
If you explain more about what you are lookikng for, someone will have suggestions. |
|
Back to top |
|
|
Arun Aravind
New User
Joined: 20 Jun 2008 Posts: 14 Location: Bangalore
|
|
|
|
Hi..
I have found the include files for CICS like DFHBMSCA copybook and DFHEIBLK etc in CICSTS31.* datasets.I have been able to find SQLCA structure for C/C++ language in DSN810.* ie the header file.
I would like to know where the SQLCA for COBOL gets included from.
When we write:
EXEC SQL
INCLUDE SQLCA
END-EXEC.
in a COBOL-DB2 program doe this structure gets generated by DSNHPC or is it included from some file in DB2 system libraries like DFHBMSCA etc as in the case of CICS from CICSTS31.* datasets?Also I would like to know its default location. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Yes, the SQLCA is generated by DSNHPC.
Quote: |
Also I would like to know its default location. |
From what i see, it is generated internally by DSNHPC. Other languages/pre-compilers may be different. |
|
Back to top |
|
|
Arun Aravind
New User
Joined: 20 Jun 2008 Posts: 14 Location: Bangalore
|
|
|
|
Thanks a lot for the answer. |
|
Back to top |
|
|
|