Posted: Wed Aug 11, 2004 4:33 am Post subject: mqsiexport scripting
Newbie
Joined: 11 Aug 2004 Posts: 3
We have created a script to export all of our WMQI 2.1 message flows. We need this for our migration to WBIMB 5.0. What is happening is when the script executes, only the first line gets executed and then the script stops. We have tried putting in an echo following the first command and it is never recognized. We are doing this through a *.bat file. The code is
What this is producing is hello1, exporting CA_APD_ACK_MSGFLOW.xml file, saving CA_APD_ACK_MSGFLOW.xml file.
It then seems to hang for a few seconds and finishes. We never see the second hello2 or the second xml file _________________ Becky
Joined: 17 Jun 2004 Posts: 278 Location: Harrisburg PA
This is just a general suggestion that should help you resolve your problem.
When I script things like this in windows I always redirect the output of the command to an output text file.
Otherwise the information is lost and you never see it.
So I would do:
mqsiexportmsgflows CA_APD_ACK_MSGFLOW.XML -m CA_APD_ACK_MSGFLOW > output1.txt
mqsiexportmsgflows PD_APD_ACK_MSGFLOW.XML -m PD_APD_ACK_MSGFLOW > output2.txt
My guess is the first command is somehow failing during its run and so the rest of the script casade fails as well. _________________ Patrick Goodhart
MQ Admin/Web Developer/Consultant
WebSphere Application Server Admin
Sorry, I didn't include that. We are putting to a .txt file. It is showing the exporting and saving of the first message as well as the first hello _________________ Becky
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