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 IndexMainframe, CICS, TXSeriesReading logs and replaying messages

Post new topicReply to topic Goto page 1, 2  Next
Reading logs and replaying messages View previous topic :: View next topic
Author Message
cicsprog
PostPosted: Mon Jul 08, 2019 11:37 am Post subject: Reading logs and replaying messages Reply with quote

Partisan

Joined: 27 Jan 2002
Posts: 303

There use to be a Supportpac and I believe it got put into the MQ product, the ability to read the MQ logs and rebuild/replay messages.

I cant find the Supportpac or any documentation on it and I know it exists.

Thanks for helping us aged types!!!!
Jason
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Jul 08, 2019 11:44 am Post subject: Reply with quote

Grand High Poobah

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

For the record, you do mean (based on where you've posted this) on a z/OS queue manager not a distributed one?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Jul 08, 2019 11:53 am Post subject: Reply with quote

Grand High Poobah

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

And are you sure you're not thinking of dmpmqmsg which was what they called qload when it moved into the base product in v8? Along with savemqgr?

(Though MQ z/OS had saveqmgr functionality through CSQUTIL before that. Like anyone defines queues except using JCL........)

This, as you're surely aware, doesn't read logs.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon Jul 08, 2019 11:56 am Post subject: Reply with quote

Poobah

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

CSQJU004 is the supplied print log utility. Log replay takes place automatically at qmgr restart to ensure that the qmgr is brought to its last known consistent state.
_________________
My life flows on in endless song;
How can I keep from singing?
Back to top
View user's profile Send private message
cicsprog
PostPosted: Mon Jul 08, 2019 11:59 am Post subject: Reply with quote

Partisan

Joined: 27 Jan 2002
Posts: 303

It was ZOS I thought...but Im old. Im still looking for it.
Paul or M Hughson HELP the agged!!!!!
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Jul 08, 2019 12:00 pm Post subject: Reply with quote

Grand High Poobah

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

bruce2359 wrote:
Log replay takes place automatically at qmgr restart to ensure that the qmgr is brought to its last known consistent state.


Yeah, I knew that and suspect the OP does as well.

The ask seemed more to be something more manual, separate to the start up consistency check.

Unless you're proposing the OP print the logs through CSQJU004, reformat the output and replay it through CSQUTIL? Ingenious, but how would you identify given start and end points?

Hummmm.......................

*reaches for SyncSort guide*
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Jul 08, 2019 12:03 pm Post subject: Reply with quote

Grand High Poobah

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

cicsprog wrote:
It was ZOS I thought...but Im old.


And I'm a teenage millennial spring chicken.

Using my cranky old man voice, I point out that v8's dspmqmsg does work on z/OS.

I also wave my cane in the air and demand what the requirment to do such a darn fool crazy thing is.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
cicsprog
PostPosted: Mon Jul 08, 2019 12:06 pm Post subject: Reply with quote

Partisan

Joined: 27 Jan 2002
Posts: 303

It was some program that recreated messages from the logs (maybe elsewhere) that allowed you to replay them back....like for stress tests

Ugg. Im still looking. I thought it was just recently added also and at one time it was a Supportpac.....NOT Q or QLOAD
Jason
Back to top
View user's profile Send private message
cicsprog
PostPosted: Mon Jul 08, 2019 12:12 pm Post subject: Reply with quote

Partisan

Joined: 27 Jan 2002
Posts: 303

I dont have my Laptop / desktop started with me and Im at a new client....so all my Supportpac downloads arent near me.....dont go crazy looking for it....Ill eventually remember or get to my downloads of Supportpac over the years....Jason

Using new fangled IPAD Pro with a keyboard at the moment
Back to top
View user's profile Send private message
cicsprog
PostPosted: Mon Jul 08, 2019 12:23 pm Post subject: Reply with quote

Partisan

Joined: 27 Jan 2002
Posts: 303

I think its dmpmqlog but might have to use pauls Version for a stress test type scenario ....Im at a customer trying to get off the MF...Oh the Humanity...so they want to capture MQ work and ship it to those new fangled MQs on distributed so they can stress test.

While PUBSUB might be suggested, never liked hooking Prod to test not to mention the overhead of capturing data for this type of purpose.
Back to top
View user's profile Send private message
hughson
PostPosted: Mon Jul 08, 2019 3:16 pm Post subject: Re: Reading logs and replaying messages Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1512
Location: Bay of Plenty, New Zealand

cicsprog wrote:
There use to be a Supportpac and I believe it got put into the MQ product, the ability to read the MQ logs and rebuild/replay messages.

There was Supportpac MO12 (Log Print Utility) which got rolled into the product in V6, and is called CSQ1LOGP.

The log print utility (CSQ1LOGP) on z/OS

I don't know how easy it is to use to replay messages from, but I think it might be what you are thinking of.

Cheers,
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
cicsprog
PostPosted: Mon Jul 08, 2019 6:10 pm Post subject: Reply with quote

Partisan

Joined: 27 Jan 2002
Posts: 303

Darn...well darn memory has failed me. But thats probably what I was thinking of. I will look at the EXTRACT function and see if thats workable.
I do appreciate the replys as always here.
Jason
Back to top
View user's profile Send private message
exerk
PostPosted: Mon Jul 08, 2019 11:04 pm Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6206

rfhutilc to read off copies of the messages to file, do the needful and upload them to distributed?
_________________
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
elkinsc
PostPosted: Tue Jul 09, 2019 8:38 am Post subject: One of our lab exercises does this Reply with quote

Centurion

Joined: 29 Dec 2004
Posts: 133
Location: Memphis

There is a log replay lab exercise here:
https://github.com/ibm-wsc/mq-wildfire-zosperf

Note that the log extract works by the pageset ID, so if you have multiple queues using persistent messages defined on the same pageset, the extract file will have to be 'culled' (sorted) for the queue you need restored.
Back to top
View user's profile Send private message
cicsprog
PostPosted: Tue Jul 09, 2019 12:03 pm Post subject: Re: One of our lab exercises does this Reply with quote

Partisan

Joined: 27 Jan 2002
Posts: 303

elkinsc wrote:
There is a log replay lab exercise here:
https://github.com/ibm-wsc/mq-wildfire-zosperf

Note that the log extract works by the pageset ID, so if you have multiple queues using persistent messages defined on the same pageset, the extract file will have to be 'culled' (sorted) for the queue you need restored.


Cool...I will definitely give that a try...when they get me a laptop, and access, and bla bla....onboarding never pleasant.


Thanks so much!
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum IndexMainframe, CICS, TXSeriesReading logs and replaying messages
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.