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 » Reading Microsoft Excel into WMB

Post new topic  Reply to topic
 Reading Microsoft Excel into WMB « View previous topic :: View next topic » 
Author Message
ak
PostPosted: Tue May 01, 2007 3:15 am    Post subject: Reading Microsoft Excel into WMB Reply with quote

Apprentice

Joined: 07 Aug 2006
Posts: 48
Location: England

Folks

Does anyone know if reading and processing MS Excel spreadsheets is possible? If so are there any support pacs? or Java User defined input nodes doing this already?
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue May 01, 2007 3:30 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

At the simplist, it's just a file. You can put them in as MQFMT_NONE
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Tue May 01, 2007 3:47 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

.xls will be difficult with WMB , saving the Excel spreadsheet as XML (with Office 2003) should make it easier...
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
jefflowrey
PostPosted: Tue May 01, 2007 3:50 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Or as a CSV file that can then be parsed with TDS...
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue May 01, 2007 3:51 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Or (if you're on a back version of Office) as a .csv
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
ak
PostPosted: Tue May 01, 2007 4:46 am    Post subject: Reading Microsoft Excel into WMB Reply with quote

Apprentice

Joined: 07 Aug 2006
Posts: 48
Location: England

Sorry guys

I was really looking at automating the reading of the Excel spreadsheet, I have seen previous threads discussing reading PDF files or writting an MRM for PDF files. I thought someone somewhere has tried doing a similar thing for Excel especially that there seem to be loads of Java classes on the web doing just that.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue May 01, 2007 5:07 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I'm sure someone probably has done this. I'm not aware of any particular solutions, though. But then again, I haven't particularly looked for any solutions, either.

If you decide to do this yourself, the simplest way is probably to put the .xls file on a queue as a MQFMT_NONE message, read it with an MQInput node set to BLOB and then use a JavaComputeNode to pass the bitstream to the java classes you've found.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
PieterV
PostPosted: Wed Jun 06, 2007 6:08 am    Post subject: Re: Reading Microsoft Excel into WMB Reply with quote

Disciple

Joined: 04 Jan 2006
Posts: 164
Location: Belgium

ak wrote:
. I thought someone somewhere has tried doing a similar thing for Excel especially that there seem to be loads of Java classes on the web doing just that.



Could anybody point me to that place on the web where i can find Java Classes to convert XLS?
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Jun 06, 2007 9:52 am    Post subject: Re: Reading Microsoft Excel into WMB Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

PieterV wrote:
ak wrote:
. I thought someone somewhere has tried doing a similar thing for Excel especially that there seem to be loads of Java classes on the web doing just that.



Could anybody point me to that place on the web where i can find Java Classes to convert XLS?
Yes, try "google.com".
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
marcin.kasinski
PostPosted: Wed Jun 06, 2007 9:59 am    Post subject: Re: Reading Microsoft Excel into WMB Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

You can try jakarta poi (http://jakarta.apache.org/poi/) in your JAVA Compute node.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
ramires
PostPosted: Wed Jun 06, 2007 2:03 pm    Post subject: Reply with quote

Knight

Joined: 24 Jun 2001
Posts: 523
Location: Portugal - Lisboa

you can define a xls file as an ODBC data source, and then from MB access that data source... well I never tried that and may have limitations

Regards
Joao Ramires
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 » Reading Microsoft Excel into WMB
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.