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 » Database Tables to XML using ESQL or Java

Post new topic  Reply to topic
 Database Tables to XML using ESQL or Java « View previous topic :: View next topic » 
Author Message
Partha.Baidya
PostPosted: Mon Feb 13, 2017 8:04 pm    Post subject: Database Tables to XML using ESQL or Java Reply with quote

Voyager

Joined: 05 Nov 2009
Posts: 97

Is it possible to create an XML file by taking data from multiple tables using ESQL?
In this case the data should be retrieved from 8 different tables in order to build the XML.
I never came across where WMB is used to create XML from multiple database tables.
In this case I am thinking of using a database stored procedure or WMB java compute node.

Could you please give me your suggestion?
Back to top
View user's profile Send private message
smdavies99
PostPosted: Mon Feb 13, 2017 11:28 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Of course it is possible to do this using ESQL.

A stored procedure or a PASSTHRU with the select + joins will give the results.
Taking the resulting Data and creating a Message Tree and thus an XML Message is perfect for IIB and ESQL.
It might be better to use a Mapping node if more appropriate.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
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 » Database Tables to XML using ESQL or Java
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.