|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
saveqmgr on iSeries |
« View previous topic :: View next topic » |
Author |
Message
|
sumit |
Posted: Tue May 26, 2009 6:03 am Post subject: saveqmgr on iSeries |
|
|
Partisan
Joined: 19 Jan 2006 Posts: 398
|
Hi,
I am running saveqmgr on an iSeries server so that I can migrate 'as it is' mq config running on Server A to Server B. Version of MQ is 6.0. I followed the steps given in the saveqmgr zip file (AS400READ.ME). Although the steps are here again for ref :
On source machine
Quote: |
ftp <AS/400 name>
user:
password:
then when logged on...
ftp> cd QGPL
ftp> bin
ftp> put MS03.savf
CRTSAVF (QGPL/MS03)
RSTLIB SAVLIB(MS03) DEV(*SAVF) SAVF(QGPL/MS03)
STRMQMCSVR MQMNAME(<QMGRNAME>)
MS03/QSAVEQMGR LCLQMGRNAM(<QMGRNAME>) FILENAME('MS03/QMQSC(<QMGRNAME>)')
CRTSAVF FILE(QGPL/XSBH_AS400)
SAVOBJ OBJ(QMQSC) LIB(MS03) DEV(*SAVF) SAVF(QGPL/XSBH_AS400) |
and on target machine:
Quote: |
FTP <Target AS/400 name>
user:
password:
then when logged on...
ftp> cd QGPL
ftp> lcd QGPL
ftp> bin
ftp> put <QMGRNAME>.savf
Back on the Target AS/400 System:
CRTLIB LIB(<QMGRNAME>)
RSTOBJ OBJ(*ALL) SAVLIB(MS03) DEV(*SAVF) SAVF(QGPL/<QMGRNAME>) RSTLIB(<QMGRNAME>)
STRSBS SBSD(QMQM)
CRTMQM MQMNAME(<QMGRNAME>)
STRMQM MQMNAME(<QMGRNAME>)
STRMQMMQSC SRCMBR(<QMGRNAME>) SRCFILE(<QMGRNAME>/QMQSC) MQMNAME(<QMGRNAME>) |
Here we are getting errors while executing the last command. It says :
Quote: |
Keyword 'MARKINT' not valid for this command or the command is incomplete. |
I checked and found that out of 102 mqsc commands, 91 are incorrect (not with the same error).
What have I done wrong? _________________ Regards
Sumit |
|
Back to top |
|
 |
sumit |
Posted: Tue May 26, 2009 7:34 am Post subject: |
|
|
Partisan
Joined: 19 Jan 2006 Posts: 398
|
With some more investigation, it seems that the parameters which are causing error while executing the saveqmgr script on target machine belongs to MQ v7 config. Whereas, we are using MQ v6.
Although, the doc says
Quote: |
All executables have been compiled against MQ v7.0.0.0. They should run fine
against earlier versions of MQ, without needing to specify a -v switch. |
but seems there is something which is causing the error. The probable solution what I can see now is to use version(6) while executing QSAVEQMGR command on source machine. _________________ Regards
Sumit |
|
Back to top |
|
 |
mqjeff |
Posted: Tue May 26, 2009 7:47 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Please contact me by email, my address is in the read.me that ships.
Saveqmgr, regardless of what level it is compiled against, should not be producing MQSC that contains MQSC options that are not known to the qmgr that it is run against.
That is, if you run it against a v6 qmgr, it should not produce MQ v7 syntax in the output file. If it does produce such, this is a bug.
Please contact me by email, and send me your output file. |
|
Back to top |
|
 |
sumit |
Posted: Tue May 26, 2009 8:10 am Post subject: |
|
|
Partisan
Joined: 19 Jan 2006 Posts: 398
|
I've sent the file. _________________ Regards
Sumit |
|
Back to top |
|
 |
mqjeff |
Posted: Tue May 26, 2009 8:11 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Thanks, yes.
I'll respond by email, and once we have a resolution I'll update this posting. |
|
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
|
|
|
|