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 to default values to attributes of element[0..*]

Post new topic  Reply to topic
 how to default values to attributes of element[0..*] « View previous topic :: View next topic » 
Author Message
mathu_new_forib9
PostPosted: Fri Jul 03, 2015 1:24 am    Post subject: how to default values to attributes of element[0..*] Reply with quote

Newbie

Joined: 01 Jul 2015
Posts: 5

Hi All,

I've been so much trying to set default values to attributes of elements in array using mapping node but wasn't able to achieve still. My reqmnt is to set arrayelement[1].attribute1='abc' and
arrayelament[2].attribute1='xyz'. Im not able to set cardinality property when using ASSIGN function and hav a very less time bandwidth to acheive this:( Could anyone ???
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jul 03, 2015 4:58 am    Post subject: Reply with quote

Grand High Poobah

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

Do you have a for each loop going?
You can set a condition there to specify the index...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mathu_new_forib9
PostPosted: Sun Jul 05, 2015 8:49 pm    Post subject: Reply with quote

Newbie

Joined: 01 Jul 2015
Posts: 5

Thnks for that reply. but my requirement is to map from copybook fields to canonical. so no input for attribute of output element... so..???
Back to top
View user's profile Send private message
mathu_new_forib9
PostPosted: Tue Jul 07, 2015 3:18 am    Post subject: Reply with quote

Newbie

Joined: 01 Jul 2015
Posts: 5

I was able to achieve this with Join and assign transforms
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 » how to default values to attributes of element[0..*]
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.