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 » How do I set a NULL field in CWF

Post new topic  Reply to topic
 How do I set a NULL field in CWF « View previous topic :: View next topic » 
Author Message
berguss22
PostPosted: Sun Dec 26, 2004 2:14 am    Post subject: How do I set a NULL field in CWF Reply with quote

Apprentice

Joined: 10 Mar 2004
Posts: 31

I am converting from XML to CWF I want to set one of the output fields to Null...Pad it with spaces. How do I do that in esql and the properties of the field itself
Back to top
View user's profile Send private message Send e-mail MSN Messenger
kirani
PostPosted: Sun Dec 26, 2004 11:25 pm    Post subject: Reply with quote

Jedi Knight

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

What is your field type? And what exactly do you mean by assigning NULL value to this field. Do you mean that you want to assign X'00' to this field? If your field is defined as CHAR then you can CAST X'00' as CHAR (using CCSID option) and assign the value to this MRM element. You can set the padding in your message set.
_________________
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
jefflowrey
PostPosted: Mon Dec 27, 2004 5:25 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Or you can use the VALUE clause to assign the VALUE of an element to the logical NULL value, instead of assigning the element itself to be a logical NULL, which deletes the element.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kirani
PostPosted: Mon Dec 27, 2004 10:06 am    Post subject: Reply with quote

Jedi Knight

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

One more option would be to assign a default value to this element in your MessageSet itself.
_________________
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
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How do I set a NULL field in CWF
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.