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 » General IBM MQ Support » New to Scripting, need some help

Post new topic  Reply to topic
 New to Scripting, need some help « View previous topic :: View next topic » 
Author Message
rahuldhanpal
PostPosted: Mon Oct 22, 2012 1:54 pm    Post subject: New to Scripting, need some help Reply with quote

Voyager

Joined: 24 Jan 2009
Posts: 84
Location: Kenosha WI

Hi all, i got a requirement of writing a script for a project.

I need to build a script(KSH or PL or any) that messages from a particular queue are converted in to flat file and put in to another destination queue. It's urgent. I would really appreciate if any one can show me an example script.

Also let me know if i am not enough clear....
Back to top
View user's profile Send private message Send e-mail
exerk
PostPosted: Mon Oct 22, 2012 2:18 pm    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Why reinvent the wheel? Just use one of the SupportPacs to do it.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Oct 23, 2012 6:22 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

If using ksh, you can rely on the MQ sample programs to read and write your queue. Use pipe redirection on both input and output to achieve.

You can do it. Its easy.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Tue Oct 23, 2012 6:49 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Use support pac MA01 (the q command), this won't have the message size restrictions of the sample programs.

The q command is very easy to use and has various options.
Back to top
View user's profile Send private message
rahuldhanpal
PostPosted: Tue Oct 23, 2012 8:55 am    Post subject: Thanks Reply with quote

Voyager

Joined: 24 Jan 2009
Posts: 84
Location: Kenosha WI

Thanks ALL for suggestions, will consider and work on it...
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » New to Scripting, need some help
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.