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 Interchange Server + Adapters » trouble with null value move

Post new topic  Reply to topic
 trouble with null value move « View previous topic :: View next topic » 
Author Message
sdng
PostPosted: Mon Feb 06, 2006 8:29 am    Post subject: trouble with null value move Reply with quote

Acolyte

Joined: 23 Nov 2005
Posts: 53

in some bo i have some attribute that can be null
at first it has real value (test for example)
than i change it to null, null did not move to result system

can ICS move null values?
_________________
Are you gangsters? No, we are Russians!
Back to top
View user's profile Send private message
sdng
PostPosted: Mon Feb 06, 2006 8:30 am    Post subject: Reply with quote

Acolyte

Joined: 23 Nov 2005
Posts: 53

for map I use standart operation 'Move'
_________________
Are you gangsters? No, we are Russians!
Back to top
View user's profile Send private message
Ratan
PostPosted: Mon Feb 06, 2006 10:49 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

What do you mean by <null> did not move? do you see any other value instead of null?
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
sdng
PostPosted: Tue Feb 07, 2006 3:41 am    Post subject: Reply with quote

Acolyte

Joined: 23 Nov 2005
Posts: 53

Hi,
I mean than <null> attribute value dont move from source system to destination. other values do it. attribute is simple (char type). for transfet use Foundation collaboration and 'Move' operation at map.
according to source of 'Move' opetation that is
Object srcValue = null;
srcValue = ObjPED_PERS_FT.get("SrcAttrName");
{
BusObj destBusObj = ObjGBO_PERSON;
String destAttr = "DestAttrName";
if ((srcValue != null) && (destBusObj != null)) {
if (dataValidationLevel >= 1) {
if (!ObjGBO_PERSON.validData("PASSPORT", srcValue)) {
String warningMessage =
"Invalid data encountered when attempting to set the value of the \"PASSPORT\" attribute of BusObj \'ObjGBO_PERSON\' while running map \'"
+ getName()
+ "\'. The invalid value was \'"
+ srcValue
+ "\'.";
logWarning(warningMessage);
if (failOnInvalidData) {
throw new MapFailureException(warningMessage);
}
}
}
destBusObj.setWithCreate(destAttr, srcValue);
}
}

(It is standart code for 'Move' operation that i get from source command from map designer)

at this code source attribute compare with <null> and put into destination attribute only if it is not null

am i right that ICS dont tell the difference between null and ignore values?
_________________
Are you gangsters? No, we are Russians!
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 Interchange Server + Adapters » trouble with null value move
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.