|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Help! STRMQMMQSC |
« View previous topic :: View next topic » |
Author |
Message
|
Yucca |
Posted: Tue May 15, 2007 5:36 am Post subject: Help! STRMQMMQSC |
|
|
Newbie
Joined: 15 May 2007 Posts: 3
|
On AS/400 V5R3
I use the the following command to backup the Queue manager "TEST"
MS03/QSAVEQMGR VERSION(530) LCLQMGRNAM(TEST) FILENAME('MS03/QMQSC(TEST)')
I delete the QM "TEST", then recreate it
but when I try to use the following command to restore the QM.
STRMQMMQSC SRCMBR(TEST) SRCFILE(MS03/QMQSC) OPTION(*RUN) MQMNAME(TEST)
The spool file says:
**********************************
Starting MQSC for queue manager TEST.
000008A0 |AMQ08 0| |WebSphere MQ was unable to display an error message for message id hexadecimal %6, with inserts %1, %2, %3,
|
No MQSC commands read.
No commands have a syntax error.
All valid MQSC commands were processed.
*************************
I have been working on this for a few days, Can someone give me a light. Thanks in advanced. |
|
Back to top |
|
 |
paulgroo |
Posted: Tue May 15, 2007 6:02 am Post subject: |
|
|
 Centurion
Joined: 07 Jul 2005 Posts: 138 Location: Ireland
|
Hi there,
Have you had a look at the contents of the file that the Queue Manager definitions are written to? ("MS03/QMQSC(TEST)") Perhaps the definitions file isnt getting written to correctly? |
|
Back to top |
|
 |
Yucca |
Posted: Tue May 15, 2007 3:01 pm Post subject: |
|
|
Newbie
Joined: 15 May 2007 Posts: 3
|
Paul,
I also doubt about the contents of the file, so I replace the content with a simple line of command as below
DEFINE QLOCAL ('Q1')
It can run successful if I use RUNMQSC and input the command interactively. However, when I store that line of command in QMQSC(TEST) and use STRMQMMQSC, it get the result I shown before. |
|
Back to top |
|
 |
ramires |
Posted: Tue May 15, 2007 4:40 pm Post subject: |
|
|
Knight
Joined: 24 Jun 2001 Posts: 523 Location: Portugal - Lisboa
|
if you have MQ with a diferent language from operating system, copy the AMQMSGF (i guess this is the name) file from MQ original library to QSYS.
Regards
Joao |
|
Back to top |
|
 |
Yucca |
Posted: Tue May 15, 2007 5:59 pm Post subject: |
|
|
Newbie
Joined: 15 May 2007 Posts: 3
|
Joao,
Thanks for the advise, I only find AMQMSG *MSGF in our AS/400, I checked that both library QSYS and QMQM have this file, they are the same.
Regards
Yucca |
|
Back to top |
|
 |
ulli |
Posted: Fri May 18, 2007 3:57 am Post subject: |
|
|
Novice
Joined: 16 Aug 2004 Posts: 20
|
you could check if your mq jobs have qsys2924 (or your language lib) in there librarylist.
I changed JOBD for QMQMJOBD, AMQZLAA0 and AMQZXMA0, so that all job running in subsystem qmqm have qsys2924 in the LIBL.
regards, Ulli |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|