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 » URGENT !! DATETIME Validation

Post new topic  Reply to topic
 URGENT !! DATETIME Validation « View previous topic :: View next topic » 
Author Message
sac063
PostPosted: Fri Jan 30, 2004 11:30 pm    Post subject: URGENT !! DATETIME Validation Reply with quote

Apprentice

Joined: 23 Jan 2004
Posts: 36

Hi,

I have imported an XSD to create a message set. The DATETIME field on the source side has the format mm/dd/yy hh:mm. This field is mapped to destination field having format CCYY-MM-DDTHH:MM:SS.

This works fine. But this unfortunately also works for an invalid date like 14/32/04. The broker calculates the date and adds it to get a valid date.

What is the solution? Is there a way to set a constraint so that an exception is thrown for an invalid date?

Any information would be very helpful.
Back to top
View user's profile Send private message
wooda
PostPosted: Mon Feb 02, 2004 8:40 am    Post subject: Reply with quote

Master

Joined: 21 Nov 2003
Posts: 265
Location: UK

What version are you using (you didn't say.)

If you are v5.0 then there is a solution...
In your messageset level properties for the physical format you are using there is a checkbox entitled "Strict Datetime Checking" when ticked this will ensure out of bounds datetime fields will cause an exception.

If however you are using v2.1 then this function is not available to you.
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 » URGENT !! DATETIME Validation
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.