Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Timestamp mismatch question

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
Author Message
chandrupegasus
Warnings : 1

New User


Joined: 16 Jan 2007
Posts: 3
Location: Bangalore

PostPosted: Tue Jul 01, 2008 2:50 pm    Post subject: Reply to: Explain db2 precompiler process
Reply with quote

Quote:
if you are modifying the program and if you are not binding it, you will get a timestamp mismatch error.

Thanks,
Anu


Ur comment is fine about If anything changed in the modified source code, without rebind , We'll get timestamo mismatch, but one more part is pending in the question, Without changing anything in the code, If I rebind , Will I get timestamp mismatch error? Pls clarify.
Back to top
View user's profile Send private message
References
PostPosted: Tue Jul 01, 2008 2:50 pm    Post subject: Re: Reply to: Explain db2 precompiler process Reply with quote

Splitted: Tue Jul 01, 2008 8:42 pm by dick scherrer From Topic Explain db2 precompiler process (DB2)
nabarundas

New User


Joined: 21 Jun 2007
Posts: 19
Location: pune

PostPosted: Wed Jul 02, 2008 3:03 pm    Post subject: reply ...
Reply with quote

hi chandrupegasus,

Plz try to understand the compilation procedure of a COBOL-DB2 program. When you compile your program the precompiler will replace the SQL code with COBOL Call statement where it provides a timestamp to identify the SQL statements later on.
So If you compile your program even without making any changes in your code you need to BIND it again as the precompiler has put different Timestamp over there.
If you haven't compiled it then the timestamp in the DBRM and the program will always be the same. Hence no need of bind it again.

Regards,
Nabarun
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1