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 » MRM convert spaces to "1970-01-01" for date field

Post new topic  Reply to topic
 MRM convert spaces to "1970-01-01" for date field « View previous topic :: View next topic » 
Author Message
dino
PostPosted: Tue Oct 12, 2004 8:20 am    Post subject: MRM convert spaces to "1970-01-01" for date field Reply with quote

Newbie

Joined: 26 Sep 2004
Posts: 6

Hi,
I have a CWF message with a date field (xsd:date) with physical format=yyyyMMdd. When i sent spaces (8 spaces), the logical message tree shows the date field with value "1970-01-01". The Strict DateTime option is checked.

I am expecting MRM parser to throw an exception error. Or if the nillable option is checked, the date field will be null.

Anyone encounter this too?? Or i maybe have not set the correct phyiscal properties for that date field.

I am on WBIMBv5 CSD03. Thanks.
Back to top
View user's profile Send private message
kirani
PostPosted: Tue Oct 12, 2004 11:02 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Broker is defaulting the value for your date field. This happens when any part of a datetime object is not present on input. This is documented in Message Model Reference manual.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
jensinaus
PostPosted: Tue Oct 12, 2004 3:41 pm    Post subject: Reply with quote

Newbie

Joined: 04 May 2004
Posts: 5

This is actually a defect I raised with IBM.

The problem occurs if there is an erroneous character in the first character.

Ask IBM to send you efix IC41402.WBIMB500.FP04.WIN.ZIP.

Regards
Jens
Back to top
View user's profile Send private message
dino
PostPosted: Wed Oct 20, 2004 5:38 am    Post subject: Reply with quote

Newbie

Joined: 26 Sep 2004
Posts: 6

thanks for your responds. I will check with IBM.

regards
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 » MRM convert spaces to "1970-01-01" for date field
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.