ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » difference between to timestamps

Post new topic  Reply to topic
 difference between to timestamps « View previous topic :: View next topic » 
Author Message
LearningMB
PostPosted: Wed Jan 22, 2014 5:55 am    Post subject: difference between to timestamps Reply with quote

Newbie

Joined: 21 Jan 2014
Posts: 9

I am trying the following. But the debugger stops at the last line and does not move forward at all. Please let me know the correct way to achieve this.

Declare PutTime INTERVAL;

SET PutTime = (CAST(CURRENT_TIMESTAMP AS TIMESTAMP) - CAST(OLD_TIMESTAMP AS TIMESTAMP)) SECOND;
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Jan 22, 2014 5:59 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

What debugger ?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
LearningMB
PostPosted: Wed Jan 22, 2014 6:13 am    Post subject: Reply with quote

Newbie

Joined: 21 Jan 2014
Posts: 9

While i debug the code in message broker toolkit. It's the MB's debuggger

EDIT by exerk: Please post in the correct forum next time, thank you. Moved to the more appropriate forum.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jan 22, 2014 6:29 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Why are you casting the CURRENT_TIMESTAMP into a timestamp?

Why are you using the debugger when the debugger isn't working? Why have you not switched to taking a user trace so as to identify the problem which is causing the debugger to hang?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
dogorsy
PostPosted: Wed Jan 22, 2014 6:35 am    Post subject: Re: difference between to timestamps Reply with quote

Knight

Joined: 13 Mar 2013
Posts: 553
Location: Home Office

LearningMB wrote:
Please let me know the correct way to achieve this.


You should either read the documentation or have some formal training.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » difference between to timestamps
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.