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 » WMB V6.0 - Message Set - Logical Properties Proble,

Post new topic  Reply to topic
 WMB V6.0 - Message Set - Logical Properties Proble, « View previous topic :: View next topic » 
Author Message
nas
PostPosted: Sat Apr 08, 2006 1:37 pm    Post subject: WMB V6.0 - Message Set - Logical Properties Proble, Reply with quote

Newbie

Joined: 08 Apr 2006
Posts: 7

I am working with a CWF and I have set Value to Fixed for a local element in the logical properties. The fixed value is @1. I would have expected this fixed value in the output root but it is not showing up.

According to what I have read about the Fixed value:
This property provides the fixed value for an element or attribute.
If a Fixed value is set for an attribute or element and a message is received, if the attribute or element exists in the message, the data in that part of the message must match that held in this property.

If the attribute or element does not exist in the message, the broker will create it and populate it with the value in this property.

Has anyone run into this issue? I am a newbie to broker so I am probably missing something obvious.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Apr 09, 2006 5:04 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

How did you create/generate your message definition file?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
nas
PostPosted: Sun Apr 09, 2006 6:18 pm    Post subject: Reply with quote

Newbie

Joined: 08 Apr 2006
Posts: 7

I created a message set project , a message set then I created a messge defintion file from a Cobol copybook. I performed each step using the toolkit.
Back to top
View user's profile Send private message
kimbert
PostPosted: Mon Apr 10, 2006 12:34 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

The documentation is incorrect. Fixed and default values are not automatically applied by the broker. In fact, there is only one scenario when they are used at all. When a CWF or TDS fixed-length field is being written, if an element/attribute with a default value is missing from the message tree its default value will be used.
Quote:
I would have expected this fixed value in the output root
An element with a default value will never be inserted into the message tree - it will only ever be written directly to the bitstream, in the circumstances described above.
Back to top
View user's profile Send private message
nas
PostPosted: Mon Apr 10, 2006 5:54 am    Post subject: Reply with quote

Newbie

Joined: 08 Apr 2006
Posts: 7

Thanks.
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 » WMB V6.0 - Message Set - Logical Properties Proble,
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.