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 Index » WebSphere Message Broker (ACE) Support » mqsiexport scripting

Post new topic  Reply to topic
 mqsiexport scripting « View previous topic :: View next topic » 
Author Message
RREHEL
PostPosted: Wed Aug 11, 2004 4:33 am    Post subject: mqsiexport scripting Reply with quote

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



Code:

echo hello1
mqsiexportmsgflows CA_APD_ACK_MSGFLOW.XML  -m CA_APD_ACK_MSGFLOW
echo hello2
mqsiexportmsgflows PD_APD_ACK_MSGFLOW.XML  -m PD_APD_ACK_MSGFLOW

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
Back to top
View user's profile Send private message
PGoodhart
PostPosted: Wed Aug 11, 2004 4:56 am    Post subject: Reply with quote

Master

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
Back to top
View user's profile Send private message
RREHEL
PostPosted: Wed Aug 11, 2004 6:10 am    Post subject: Reply with quote

Newbie

Joined: 11 Aug 2004
Posts: 3

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
Back to top
View user's profile Send private message
EddieA
PostPosted: Wed Aug 11, 2004 10:52 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

You might try using "call" to invoke mqsiexportmsgflows.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » mqsiexport scripting
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.