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 » Put a great number of xml files in a queue

Post new topic  Reply to topic Goto page 1, 2  Next
 Put a great number of xml files in a queue « View previous topic :: View next topic » 
Author Message
joe.l3
PostPosted: Fri Jul 27, 2007 3:11 am    Post subject: Put a great number of xml files in a queue Reply with quote

Novice

Joined: 24 Jul 2007
Posts: 20
Location: ITALY

Hi,
I have a question.
How can I put in a queue of a Queue Manager a great number of xml files enclosed in a folder?
I usually use a management tool for MQSeries to insert manually a single text message to a queue, but now I need to put many files into my queue.
What can I do it?
Thanks in advance.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jul 27, 2007 3:23 am    Post subject: Reply with quote

Grand High Poobah

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

As a one off, you might be able to do something with the q program.

If this is a regular occurance, part of your production processing perhaps, you probably want to produce a specific piece of code to achieve this or use one of the commercial products available that can do file to queue.

Depends on how many files, how often and how much it's worth to your business which option you choose.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
joe.l3
PostPosted: Fri Jul 27, 2007 4:30 am    Post subject: Reply with quote

Novice

Joined: 24 Jul 2007
Posts: 20
Location: ITALY

Hi Vitor,
thanks for your attention.
Exactly I must insert to a queue about 1000 files (or more...)!!! Can you give some piece of code to achieve this operation or some links about the commercial products available that can do file to queue?
Thanks a lot.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jul 27, 2007 4:46 am    Post subject: Reply with quote

Grand High Poobah

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

joe.l3 wrote:
Can you give some piece of code to achieve this operation or some links about the commercial products available that can do file to queue?


I get paid to produce code. If your budget's large enough we can talk....

Seriously, there are a number of samples you can adapt / use as a starting point. There have also been a number of discussions about file -> queue which the search button will throw up.

As to commerical products, I direct your attention to the list Roger L has helpfully provided:

http://www.capitalware.biz/mq_tools_comm.html#mqftp

You may wish to look round the rest of the CapitalWare site while you're there. Quality tools, sensibly priced and no, I don't work there!!! But there is a matching list of free tools (support pacs) that may assist you.

The one I know best is PM4DATA but don't take that as any kind of endorsement; it's just the only one I know for sure does this and does this well. Other tools may be equally capable and a better solution for you.

Again it depends on how often you need to do this. Product is expensive for a one-off exercise.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
joe.l3
PostPosted: Fri Jul 27, 2007 6:04 am    Post subject: Reply with quote

Novice

Joined: 24 Jul 2007
Posts: 20
Location: ITALY

I have already developed a korn shell fileToQueue adapter.
But I will take a look to this link for any WebSphere MQ Commercial Tools.
Thanks a lot.
Back to top
View user's profile Send private message
dkeister
PostPosted: Fri Jul 27, 2007 7:24 am    Post subject: Reply with quote

Disciple

Joined: 25 Mar 2002
Posts: 184
Location: Purchase, New York

MQExerciser can do this. With MQExerciser's graphical interface you simply connect to the queue manager, open the queue, select the folder containing the files and select the [Put] button associated with the opened queue. And this is in the FREE version.

Email me at dean@mqexerciser.com if you are interested.
_________________
Dean Keister
Back to top
View user's profile Send private message Send e-mail Visit poster's website
joe.l3
PostPosted: Fri Jul 27, 2007 7:51 am    Post subject: Reply with quote

Novice

Joined: 24 Jul 2007
Posts: 20
Location: ITALY

GREAT dkeister !!!
I'll send you an email
Thanks a lot.
Back to top
View user's profile Send private message
sunny_30
PostPosted: Fri Jul 27, 2007 3:34 pm    Post subject: Reply with quote

Master

Joined: 03 Oct 2005
Posts: 258

Joe,

You can use RFHUtil(IH03) supportPac. Get the latest-version. Use loadQ button & later select "file per msg" option.
The file-names used shd be in sequence in the input folder, say file1...file1000 & select the file1 to load, rest of the files will be loaded automatically.
Read the "Load Q Button" section in the IH03.doc for more info.

Its free too.
http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg24000637&loc=en_US&cs=utf-8&lang=en

-Sunny.
Back to top
View user's profile Send private message
joe.l3
PostPosted: Sat Jul 28, 2007 4:53 am    Post subject: Reply with quote

Novice

Joined: 24 Jul 2007
Posts: 20
Location: ITALY

Hi sunny
thanks for link.
I have unzipped ih03.zip in my local directory but I have a problem with IH03 connection setting...
I have a remote Queue Manager: QM_NAME on xxx.xxx.xxx.xxx(port number)]
If I start RfhUtilc.exe client an alert window appears and an error is generated about the dinamic link to imqc23vn.dll......
If I start RfhUtil.exe, the three drop down list boxes in "Main" tab are empty. How can I set the connection to my remote Queue Manage?
Thanks for help.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Sat Jul 28, 2007 6:35 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can't use RHFUtilC without having the MQ Client installed, even if you've got MQ server installed.

You can't use RFHUtil to talk to a remote qmgr directly.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
joe.l3
PostPosted: Sat Jul 28, 2007 6:58 am    Post subject: Reply with quote

Novice

Joined: 24 Jul 2007
Posts: 20
Location: ITALY

Hi jefflowrey,
at present time I have two applications for putting message to remote QM:
- MQExerciser trial version (...thanks Dean)
- MQJExplorer free version.
In these applications, I set a remote Queue Manager connection easily.
Why I can't set a QM connection in RFH?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Sat Jul 28, 2007 6:59 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can.

Just put what you would put into MQSERVER into the qmgr name of RFHUTILC.

But you need the MQ Client installed.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
joe.l3
PostPosted: Sat Jul 28, 2007 7:27 am    Post subject: Reply with quote

Novice

Joined: 24 Jul 2007
Posts: 20
Location: ITALY

I think that I have installed in my local PC a version of Websphere MQ Client with the following tools:
- First Steps
- Help Center
- MQ Explorer
- MQ Services
- Wizards
In my local hard drive I have all .dll libraries into the following directory:
C:\Programmi\IBM\WebSphere MQ\bin

I can't start RFHUtilC because an alert window appears when I launch the RFHUtilC.exe file (error message on imqc23vn.dll)
What can I do?
Back to top
View user's profile Send private message
sunny_30
PostPosted: Sat Jul 28, 2007 8:47 am    Post subject: Reply with quote

Master

Joined: 03 Oct 2005
Posts: 258

Joe,

Have the MQ-client installed.
http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg24009961

The .bat file you use to start the RFHUtilC shd have the following lines:

set MQSERVER=SYSTEM.ADMIN.SVRCONN/tcp/mq-server(port)
path:\rfhutilc.exe

-Sunny
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Sat Jul 28, 2007 8:58 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

joe.l3 wrote:
I can't start RFHUtilC because an alert window appears when I launch the RFHUtilC.exe file (error message on imqc23vn.dll)
What can I do?


Install the CLIENT.

You have the SERVER installed.

You will need to select "custom", and select the Client feature. You will need to do this from the SERVER media that you originally installed from.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Put a great number of xml files in a queue
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.