View previous topic :: View next topic
|
Author |
Message |
Husna
New User
Joined: 02 Jun 2006 Posts: 49
|
|
|
|
Hi all,
What are the steps, we need to follow while writing COBOL+DB2 program's. Could you please let me know clearly (Step by step)? |
|
Back to top |
|
|
anamikak
New User
Joined: 10 May 2006 Posts: 64 Location: Singapore
|
|
Back to top |
|
|
cj10
New User
Joined: 18 Sep 2006 Posts: 9
|
|
|
|
For a COBOL - DB2 program,
1. We need to have EXEC SQL INCLUDE SQLCA END-EXEC in working storage section to handle SQl errors & warnings.
2. Compile your program using Endevor / Compile JCL etc.
3. Bind your program as it contains DB2 statements using BIND JCL.
4. Execute your program using RUN JCL. |
|
Back to top |
|
|
Husna
New User
Joined: 02 Jun 2006 Posts: 49
|
|
|
|
Hi,
Thanks a lot. |
|
Back to top |
|
|
|