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 » DataBaseRetrieveNode with Multiple DataElement Table records

Post new topic  Reply to topic
 DataBaseRetrieveNode with Multiple DataElement Table records « View previous topic :: View next topic » 
Author Message
rajbuddha
PostPosted: Tue Mar 08, 2016 3:42 pm    Post subject: DataBaseRetrieveNode with Multiple DataElement Table records Reply with quote

Apprentice

Joined: 02 Aug 2011
Posts: 47
Location: chennai

Hi Team ,

I have an issue while using DatabaseRetrieveNode .

I have a join query for getting data from multiple tables which is working fine . But when I try to set retrieved data into environment tree , I could not increment the counter for next record .

For example ( In Node properties for DataElement section )

Column Name MessageElement
------------------------------------------------------------------------
ASSOCIATE_JOB.EMPLOYEE_ID $Environment/Variables/temp/Associates/Associate/EmployeeID

ASSOCIATE_JOB.WD_USERID $Environment/Variables/temp/Associates/Associate/UserID
ASSOCIATE.LEGAL_FIRST_NAME
$Environment/Variables/temp/Associates/Associate/LegalFirstName

If the Result is retrieving three records then structure is like

Environment/Variables/temp/Associates/Associate/EmployeeID=123
Environment/Variables/temp/Associates/Associate/UserID=U123
Environment/Variables/temp/Associates/Associate/LegalFirstName=Raj
Environment/Variables/temp/Associates/Associate/EmployeeID=124
Environment/Variables/temp/Associates/Associate/UserID=U124
Environment/Variables/temp/Associates/Associate/LegalFirstName=Raj2
Environment/Variables/temp/Associates/Associate/EmployeeID=125
Environment/Variables/temp/Associates/Associate/UserID=U125
Environment/Variables/temp/Associates/Associate/LegalFirstName=Raj3

Expected result is :


Environment/Variables/temp/Associates/Associate[1]/EmployeeID=123
Environment/Variables/temp/Associates/Associate[1]/UserID=U123
Environment/Variables/temp/Associates/Associate[1]/LegalFirstName=Raj
Environment/Variables/temp/Associates/Associate[2]/EmployeeID=124
Environment/Variables/temp/Associates/Associate[2]/UserID=U124
Environment/Variables/temp/Associates/Associate[2]/LegalFirstName=Raj2
Environment/Variables/temp/Associates/Associate[3]/EmployeeID=125
Environment/Variables/temp/Associates/Associate[3]/UserID=U125
Environment/Variables/temp/Associates/Associate[3]/LegalFirstName=Raj3

How can I specify this counter so that it can be incremented for every record data . Pls advise . Thanks in advance .

I am using IIBv9.0.0.3 & MQ7.5 .
_________________
-----------

Raju Buddha

Never Wait for your 2nd Opportunity..!Becoz it may be harder than the 1st One...
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Wed Mar 09, 2016 5:50 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

[] somewhere.

Or an iteration loop using For.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
rajbuddha
PostPosted: Wed Mar 09, 2016 5:59 am    Post subject: DataBaseRetrieveNode with Multiple DataElement Table records Reply with quote

Apprentice

Joined: 02 Aug 2011
Posts: 47
Location: chennai

Thanks Mqjeff .
Can you please give me some sample syntax . Thanks in advance .
_________________
-----------

Raju Buddha

Never Wait for your 2nd Opportunity..!Becoz it may be harder than the 1st One...
Back to top
View user's profile Send private message Send e-mail
timber
PostPosted: Wed Mar 09, 2016 8:05 am    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1292

What solutions have you tried so far? Please tell us everything that you have tried and what happened when you tried it.
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 » DataBaseRetrieveNode with Multiple DataElement Table records
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.