View previous topic :: View next topic
|
Author |
Message |
a69356
New User
Joined: 01 Dec 2006 Posts: 21 Location: Gurgaon
|
|
|
|
I have a query. Suppose there is Cobol + DB2 program and is working perfectly fine. Suppose according to new requirements we need some changes in the SQL part. we precompiled it and is it necessary to compile the cobol part as we have not made any changes to it.
what will happen if we will not compile the code? |
|
Back to top |
|
|
ameenansari
New User
Joined: 18 Sep 2006 Posts: 11 Location: chennai
|
|
|
|
Hi,
You have to compile,link, and bind the modified cobol-db2 pgm. If not you will get -818.
-Ameen |
|
Back to top |
|
|
Bharath Bhat
Active User
Joined: 20 Mar 2008 Posts: 283 Location: chennai
|
|
|
|
Pre-compiling creates 2 parts with similiar 'Stamps' (timestamp/consistency token as we call it), one with plain cobol statements and the other with DB2 statements. Compiling the Cobol part will make the load module "look" for the DBRM which has the latest timestamp. If you do not compile it, the load module will look for a DBRM with the timestamp it has(which is not the latest).
This will cause -818. |
|
Back to top |
|
|
|