Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Time stamp mismatch comparison

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
gvel19

New User


Joined: 20 Jul 2008
Posts: 19
Location: Schenactady, US

PostPosted: Mon Sep 22, 2008 3:40 pm    Post subject: Time stamp mismatch comparison
Reply with quote

I have compiled a DB2-Cobol program. Then I have done the binding process to create an application plan.

I picked up the time stamp from the Load Module and it is 20080920055456030401 and the time stamp for the Plan is 2008-09-20-06.02

Load module TS :20080920055456030401
Package bind TS : 080920060322
Plan bind TS :2008-09-20-06.02

If you see the Time stamp it doesn't match and it should throw a SQL error -818. But the job ran fine. I would like to know what all fields will be matched (YYYYMMDDHHMMSSNNNNNN).

Thanks,
Velmurugan G
Quote:
[/img][/list]
Back to top
View user's profile Send private message

Prasanthhere

Active User


Joined: 03 Aug 2005
Posts: 306

PostPosted: Mon Sep 22, 2008 4:08 pm    Post subject:
Reply with quote

Your should have set the compiler option to bypass the timestamp checking at the bind time
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6970
Location: porcelain throne

PostPosted: Mon Sep 22, 2008 4:31 pm    Post subject:
Reply with quote

Velmnurugan G.,

the timestamp of the bind is when then bind was done. what you need to check is the timestamp in the dbrm (that was used in the bind process).

and when you come back saying the timestamps do not look the same, it is because db2 maintains the ts in the dbrm differently than the timestamp in the load module.

after quite a few years of playing with db2 I have never bothered to learn how to reconcile the ts format differences, because I never needed to learn. I insure that the procedures used by developers to compile/link/bind worked. Controlled libraries, etc... I also teach developers to know what they are doing. the dbrms and load modules involved are the ones they are supposed to be using.

Had you read the documentation on -818, you would have learned that the timestamps are db2 internal timestamps and do not have an external representation.
Back to top
View user's profile Send private message
gvel19

New User


Joined: 20 Jul 2008
Posts: 19
Location: Schenactady, US

PostPosted: Mon Sep 22, 2008 4:32 pm    Post subject: Reply to: Time stamp mismatch comparison
Reply with quote

Hi Prasanth,

Could you please tell me the option that I need to set in the Compiler.

Thanks,
Velmurugan G
Back to top
View user's profile Send private message
gvel19

New User


Joined: 20 Jul 2008
Posts: 19
Location: Schenactady, US

PostPosted: Mon Sep 22, 2008 4:45 pm    Post subject: Reply to: Time stamp mismatch comparison
Reply with quote

Hi Dick,

Please let me know the way to bypass the TS match by making changes in the Compiler option.

Thanks,
Velmurugan
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6970
Location: porcelain throne

PostPosted: Mon Sep 22, 2008 5:37 pm    Post subject:
Reply with quote

If such a thing exists, I would not want to use it.
I have no idea how to tell the compiler (takes source code and creates object code)
to interfer with what the pre-compiler does (that is before the compiler)
and what the db2 bind does.

I would not be surprised if Prasanth is pulling your leg.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How syntax check at Bind time is diff... Poha Eater DB2 5 Wed Mar 21, 2018 9:16 pm
No new posts Merging records, but not all the time prino DFSORT/ICETOOL 17 Sat Feb 17, 2018 4:20 pm
No new posts Need to identify top 10 costly or tim... ashek15 DB2 4 Wed Feb 14, 2018 3:20 am
No new posts Logic to skip Maximum time-stamp and ... vickey_dw DB2 2 Thu Feb 01, 2018 11:15 pm
No new posts Query to skip Max time-stamp and fetc... vickey_dw DB2 8 Sun Jan 28, 2018 1:09 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us