Author |
Message
|
DigDoug |
Posted: Mon Nov 28, 2022 12:13 pm Post subject: dmpmqmsg to qload |
|
|
Newbie
Joined: 28 Nov 2022 Posts: 4
|
I need to have a means to backup messages in V9 QMGR and import them back in to a V7.5 QMGR. When I use dmpmqmsg on the V9 QMGR then try to import the messages on the V7.5 QMGR using qload I get an error: does not appear to be a QLOAD file. Is there any way to backup messages in a newer qmgr and import them in an older version? |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
bruce2359 |
Posted: Mon Nov 28, 2022 12:32 pm Post subject: Re: dmpmqmsg to qload |
|
|
![](images/avatars/58715422151eef88d5f6e3.jpg) Poobah
Joined: 05 Jan 2008 Posts: 9406 Location: US: west coast, almost. Otherwise, enroute.
|
DigDoug wrote: |
When I use dmpmqmsg on the V9 QMGR (to export) then try to import the messages on the V7.5 QMGR using qload I get an error: does not appear to be a QLOAD file. |
Have you tried using qload for both export and import? _________________ 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 |
|
![](templates/DAJ_Glass/images/spacer.gif) |
zpat |
Posted: Mon Nov 28, 2022 12:33 pm Post subject: |
|
|
![](images/avatars/200698233754e3c3649f6d0.jpg) Jedi Council
Joined: 19 May 2001 Posts: 5849 Location: UK
|
Use the same program for both unload and load.
Hint - it works in client mode as well. _________________ Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error. |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
DigDoug |
Posted: Mon Nov 28, 2022 3:06 pm Post subject: |
|
|
Newbie
Joined: 28 Nov 2022 Posts: 4
|
zpat wrote: |
Use the same program for both unload and load.
Hint - it works in client mode as well. |
Perfect!! Worked like a charm! Thank you zpat. |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
DigDoug |
Posted: Mon Nov 28, 2022 3:09 pm Post subject: Re: dmpmqmsg to qload |
|
|
Newbie
Joined: 28 Nov 2022 Posts: 4
|
bruce2359 wrote: |
DigDoug wrote: |
When I use dmpmqmsg on the V9 QMGR (to export) then try to import the messages on the V7.5 QMGR using qload I get an error: does not appear to be a QLOAD file. |
Have you tried using qload for both export and import? |
I thought of this but I was unable to find SupportPac MO03 anywhere in order to put qload on the V9 server. As it turned out with the hint from zpat I was able to use dmpmqmsg to do both sides. Thank you for your input! |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
hughson |
Posted: Mon Nov 28, 2022 7:19 pm Post subject: |
|
|
![](images/avatars/810794940518bb946528b3.jpg) Padawan
Joined: 09 May 2013 Posts: 1916 Location: Bay of Plenty, New Zealand
|
Or alternatively edit the comment at the top of the exported file to remove "dmpmqmsg" and replace with "QLOAD". ![](images/smiles/icon_wink.gif) _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
DigDoug |
Posted: Mon Nov 28, 2022 7:51 pm Post subject: |
|
|
Newbie
Joined: 28 Nov 2022 Posts: 4
|
hughson wrote: |
Or alternatively edit the comment at the top of the exported file to remove "dmpmqmsg" and replace with "QLOAD". ![](images/smiles/icon_wink.gif) |
Thank you for this! I had to make a couple of changes to the header before it would work but I dumped one each way and compared and it was easy enough to figure out. |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
exad3545 |
Posted: Sat Oct 28, 2023 11:14 pm Post subject: |
|
|
Newbie
Joined: 28 Oct 2023 Posts: 3
|
Leverage a single program for both unloading and loading, and keep in mind that it functions effectively in client mode too, adding to its versatility. |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
|