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 » mqsicreatebar doesnot work as expected. bug?

Post new topic  Reply to topic
 mqsicreatebar doesnot work as expected. bug? « View previous topic :: View next topic » 
Author Message
guest468
PostPosted: Mon Jun 19, 2006 4:50 pm    Post subject: mqsicreatebar doesnot work as expected. bug? Reply with quote

Centurion

Joined: 30 May 2006
Posts: 146
Location: NY

I am facing problem while using mqsicreatebar command...

When I run the command mqsicreatebar with the following parameters.…
mqsicreatebar -b Tst.bar -data "C:\WBIMB" -o "MSG_FLOWS\Ser_Int.msgflow" -o "M_XML\Env\messageSet.mset"
The command ignores the first -o option ("MSG_FLOWS\Ser_Int.msgflow"). The final bar file has only the message set in it.

And when I run the same with the following parameters....
mqsicreatebar -b Tst.bar -data "C:\WBIMB" -o "M_XML\Env\messageSet.mset" -o "MSG_FLOWS\Ser_Int.msgflow"
It again ignores the first -o argument (ie : -o "M_XML\Env\messageSet.mset" ). The final bar file has only the message flow in it.

In fact, mqsicreatebar command seem to be taking only the last -o option ignoring all other -o arguments.

could someone please help me resolving this problem.

Thanks
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Tue Jun 20, 2006 12:47 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi guest468,

guest468 wrote:
mqsicreatebar -b Tst.bar -data "C:\WBIMB" -o "MSG_FLOWS\Ser_Int.msgflow" -o "M_XML\Env\messageSet.mset"

And who told you to give multiple -o's

Try
Code:
mqsicreatebar -b Tst.bar -data "C:\WBIMB" -o "MSG_FLOWS\Ser_Int.msgflow" "M_XML\Env\messageSet.mset"


You might need to put it in square brackets....check the command from the console using "mqsicreatebar ?"

Regards.
Back to top
View user's profile Send private message Send e-mail
pottas
PostPosted: Tue Jun 20, 2006 4:04 am    Post subject: Reply with quote

Disciple

Joined: 27 Oct 2005
Posts: 185
Location: South Africa

elvis_gn:

Quote:
And who told you to give multiple -o's


this is what's in the documentation:
Quote:

The following example specifies a message flow and a message set:
mqsicreatebar -data C:\Workspace -b mySet.bar -o TestFlowProject\TestFlow\Test.msgflow -o TestSetProject\TestSet\messageSet.mset


Could the documentation be wrong then?

pottas
Back to top
View user's profile Send private message
nathanw
PostPosted: Tue Jun 20, 2006 4:11 am    Post subject: Reply with quote

Knight

Joined: 14 Jul 2004
Posts: 550

can yu point us at where the doumentation says this
Back to top
View user's profile Send private message MSN Messenger
jefflowrey
PostPosted: Tue Jun 20, 2006 4:13 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

nathanw wrote:
can yu point us at where the doumentation says this


http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/an19540_.htm


_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
nathanw
PostPosted: Tue Jun 20, 2006 4:20 am    Post subject: Re: mqsicreatebar doesnot work as expected. bug? Reply with quote

Knight

Joined: 14 Jul 2004
Posts: 550

your examples
Code:

mqsicreatebar -b Tst.bar -data "C:\WBIMB" -o "MSG_FLOWS\Ser_Int.msgflow" -o "M_XML\Env\messageSet.mset"

mqsicreatebar -b Tst.bar -data "C:\WBIMB" -o "M_XML\Env\messageSet.mset" -o "MSG_FLOWS\Ser_Int.msgflow"


example in documentation
Code:

mqsicreatebar -data C:\Workspace -b mySet.bar -o TestFlowProject\TestFlow\Test.msgflow -o TestSetProject\TestSet\messageSet.mset


the layout is different maybe that is affecting

BTW thx Jeff
Back to top
View user's profile Send private message MSN Messenger
elvis_gn
PostPosted: Tue Jun 20, 2006 4:22 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi,

The command console says

Code:
Syntax: mqsicreatebar [-data workspace] -b barName [-version id] [-esql21] [-p projectName [...]] -o filePath1 [filePath2 [...]]


I guess guest468 should test it and tell us what works....

Regards.
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Tue Jun 20, 2006 5:00 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The InfoCenter link I showed has the multiple -o's in the << >> markers, which indicates a recent change.

So it's likely that the syntax for this command has changed with a recent release of Toolkit.

So the first thing that guest468 needs to do is tell us what version of the Toolkit he/she is running.

Quotes, on the other hand, shouldn't matter - so it should be okay to use -o <file_path> as well as -o "<file_path>". The OS command shell will handle the quotes, and mqsicreatebar will never see them.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
nathanw
PostPosted: Tue Jun 20, 2006 5:06 am    Post subject: Reply with quote

Knight

Joined: 14 Jul 2004
Posts: 550

As i said looks like he is not entering the command properly

i know that this shouldnt matter but sometimes it does

agree with Jeff we need versions etc
Back to top
View user's profile Send private message MSN Messenger
pottas
PostPosted: Tue Jun 20, 2006 5:43 am    Post subject: Reply with quote

Disciple

Joined: 27 Oct 2005
Posts: 185
Location: South Africa

I used the following from the command prompt:
Quote:

mqsicreatebar -data "C:\Documents and Settings\pottasj\IBM\wmbt6.0\Clover_WorkSpace"
-b "C:\Documents and Settings\pottasj\IBM\wmbt6.0\Clover_WorkSpace\MyServerPrj\MyNewBar.bar"
-p MSF.DIST
-o "MSF.DIST\RPS\MSF_DIST_CustDefaultRoundRoute_RPS_IDS.msgflow" "MSS.HUB.KeyMapList\MSS.HUB.KeyMapList\messageSet.mset"


...and it created a bar file with both the message set and the message flow in it. If you add more projects to your -o flag, it will overwrite the bar file with all the projects specified in the flag.

pottas
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Tue Jun 20, 2006 6:09 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi,

So, I was right...yes , yes, yes

Regards.
Back to top
View user's profile Send private message Send e-mail
guest468
PostPosted: Tue Jun 20, 2006 7:47 am    Post subject: Reply with quote

Centurion

Joined: 30 May 2006
Posts: 146
Location: NY

Thanks everybody.
I am using 6.0.0.1 toolkit. I tried the mqsicreatebar with syntax as suggested by Elvis and it is working fine.
But the command is not taking multiple -o options as described in the online V6 documentation.
Back to top
View user's profile Send private message
wschutz
PostPosted: Tue Jun 20, 2006 10:53 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

guest468: Can I ask you to use the feedback link on that page to tell the ID folks that there's a problem with the documentation? Based on the command's self-reported syntax and its behaviour, the doc seems to be in error. Thanks
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
guest468
PostPosted: Tue Jun 20, 2006 4:04 pm    Post subject: Reply with quote

Centurion

Joined: 30 May 2006
Posts: 146
Location: NY

Wayne, I have updated folks at IBM using feedback option.
Thanks.
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 » mqsicreatebar doesnot work as expected. bug?
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.