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 » How to get history commands with MQ version 7.5 for Linux

Post new topic  Reply to topic
 How to get history commands with MQ version 7.5 for Linux « View previous topic :: View next topic » 
Author Message
ciscopixe
PostPosted: Thu Oct 08, 2015 12:35 am    Post subject: How to get history commands with MQ version 7.5 for Linux Reply with quote

Newbie

Joined: 07 Oct 2015
Posts: 2

Hi,

I would like to know if it's possible to get the history command when i execute differents commands as runmqsc QM <enter>

dis QL (*)
dis qa(*)
etc....

I need the history like unix.

Thanks a lot for response !

Best regards,

ciscopixe
Back to top
View user's profile Send private message
smdavies99
PostPosted: Thu Oct 08, 2015 1:59 am    Post subject: Reply with quote

Jedi Council

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

Do everything via a script. Then you have a perfect record.
_________________
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
Vitor
PostPosted: Thu Oct 08, 2015 4:25 am    Post subject: Re: How to get history commands with MQ version 7.5 for Linu Reply with quote

Grand High Poobah

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

ciscopixe wrote:
I need the history like unix.


Then use Unix. Have everyone making the changes sudo to the mqm id, and keep the sudo log.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Oct 08, 2015 5:28 am    Post subject: Re: How to get history commands with MQ version 7.5 for Linu Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

ciscopixe wrote:
Hi,

I would like to know if it's possible to get the history command when i execute differents commands as runmqsc QM <enter>

dis QL (*)
dis qa(*)
etc....

I need the history like unix.

Thanks a lot for response !

Best regards,

ciscopixe

UNIX history command displays previous shell commands, like runmqsc QMC01. History does not record or display the keystrokes or redirected (< filename) input to applications once the application starts.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Oct 09, 2015 3:42 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

If you turn on command events you will get all command events from any source reflected. Just be aware that the format is PCF and that applications like monitoring applications or MQExplorer are quite "chatty" ...
If you want to limit yourself to events that operate some change you should turn on configuration events. You will receive a before and after image of the object changed... or just an after image if the object was being created... again the format is PCF.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
rammer
PostPosted: Fri Oct 09, 2015 7:08 am    Post subject: Reply with quote

Partisan

Joined: 02 May 2002
Posts: 359
Location: England

I guess a long winded way would be

echo "dis ql(*)" | runmqsc QMGRNAME

That would proably show command history, obviously not result history..
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 » How to get history commands with MQ version 7.5 for Linux
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.