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: 6968
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: 6968
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
This topic is locked: you cannot edit posts or make replies. 00D3003B - time outs in DB2 when invo... chavinash2004 DB2 2 Mon Oct 09, 2017 4:39 pm
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
No new posts Comparing 2 Files using Current time arunsoods SYNCSORT 9 Fri Sep 22, 2017 6:00 pm
No new posts Regarding time parameter shanthi gude JCL & VSAM 7 Mon Sep 04, 2017 2:31 pm
No new posts DSNACCOX (can it be run on 1 db/ts, t... SRICOBSAS DB2 5 Sat May 06, 2017 12:59 am

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