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 » Excel macro for generating MQSC to define queues?

Post new topic  Reply to topic
 Excel macro for generating MQSC to define queues? « View previous topic :: View next topic » 
Author Message
zpat
PostPosted: Mon Mar 28, 2011 1:18 am    Post subject: Excel macro for generating MQSC to define queues? Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Has anyone written an excel macro to generate the MQSC define queue statements from a spreadsheet list of queue names and their basic attributes?

If you have and are willing to share it, please let me know.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Mar 28, 2011 1:51 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The products of our sponsor MQSystems may have some value in this area.

I have otherwise previously done very simple things to create fixed MQSC definitions based on string concatenation with column and row value substitution.... but that was several lifetimes ago and I don't still have extant artifacts.
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Mon Mar 28, 2011 2:54 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

no macro here.

i would export to cvs and let some scripts / rexx run to create the proper commands. at least thats the fastest for me.

or add columns with the proper text arount the columns with the values, export to cvs and change/replace to get rid of the delimiter. e.g. if one column in your sheet is the qlocal name, add a "DEFINE QLOCAL(" in the column before and ")" in the column after..... maybe also fast if you only have a few options.
_________________
Regards, Butcher
Back to top
View user's profile Send private message
exerk
PostPosted: Mon Mar 28, 2011 3:09 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

I believe MQSystems has something that will do it...

...no warranty or endorsement implied etc.
_________________
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
zpat
PostPosted: Mon Mar 28, 2011 4:26 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Thanks for the ideas.
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 » General IBM MQ Support » Excel macro for generating MQSC to define queues?
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.