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 » WMQI v5 import message flow from command line

Post new topic  Reply to topic
 WMQI v5 import message flow from command line « View previous topic :: View next topic » 
Author Message
whiting
PostPosted: Wed Apr 21, 2004 3:00 pm    Post subject: WMQI v5 import message flow from command line Reply with quote

Acolyte

Joined: 26 Mar 2002
Posts: 64
Location: Greenville, SC

Is there a command line tool for importing message flow or message set into the eclipse toolset? I don't see one in the documentation or by trolling the file system.
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Wed Apr 21, 2004 3:18 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Are you looking for mqsimigratemsgflows or mqsimigratemsgsets?

Because otherwise, it's a matter of putting the various files in the correct places in the workspace folder of an empty project of the correct type, and selecting 'Refresh' in the Tooling.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
whiting
PostPosted: Wed Apr 21, 2004 4:48 pm    Post subject: import from command line Reply with quote

Acolyte

Joined: 26 Mar 2002
Posts: 64
Location: Greenville, SC

I'm looking for mqsiimportmsgset

I want to be able to import a message flow and then create the bar file using mqsicreatebar without having to go through all the point and click.

//Bill
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Wed Apr 21, 2004 5:15 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Looking at
Quote:
BIP0955I Compile a broker archive file from source.
Syntax: mqsicreatebar [-data workspace] -b barName [-version id]
[-p projectName [...]] -o filePath1 [filePath2 [...]]
Command Options:
'-data workspace' alterative workspace location (optional)
'-b barName' bar file name to create or replace
'-version id' appends '_' and id to compiled names in the archive (optional)
'-p projectName' specify projects containing files to link (optional, multiple
projects can be specified)
'-o filePath1' workspace relative path (including the project) of msgflow
or messageSet.mset files to add to the broker archive. Multiple msgflow
or
messageSet.mset files can be compiled in a single mqsicreatebar command.

I wonder if you can use a combination of "-data <fakeworkspace>" and the appropriate -o options to do what you want.

In other words, script the creation of a folder structure that mimics a real workspace, and then pass this into mqsicreatebar.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
whiting
PostPosted: Thu Apr 22, 2004 6:32 am    Post subject: message broker v5 import Reply with quote

Acolyte

Joined: 26 Mar 2002
Posts: 64
Location: Greenville, SC

The eclipse stores additional information when it imports the flows If I construct a directory with the projects that are needed to build a message flow then mqsicreatebar errors with "ITEM.msgflow is in a project that has errors."
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Thu Apr 22, 2004 6:36 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Try launching mqsistudio with the same -data information first.
_________________
I am *not* the model of the modern major general.
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 » WMQI v5 import message flow from command line
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.