Author |
Message
|
asudhakar |
Posted: Thu Sep 13, 2007 3:56 am Post subject: mqsicreatebar not working |
|
|
 Centurion
Joined: 12 May 2007 Posts: 116 Location: Bangalore
|
Hi
I am working with MB 5.0 with fix pack 5 and MQ 5.3
with MB Tool kit im doing my work.
I am trying work with command prompt.
my command prompt not recognize mqsicreatebar command
i dont get any solution.
if any body knows, helps me.
Thank You. _________________ WebSphere MQ, MB Support and Admin |
|
Back to top |
|
 |
Vitor |
Posted: Thu Sep 13, 2007 4:15 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
When you say command prompt, do you mean a normal command prompt or the WMB command prompt added as part of the broker install? That sets up the PATH properly to reference the WMB libraries? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
EddieA |
Posted: Thu Sep 13, 2007 9:20 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Vitor wrote: |
When you say command prompt, do you mean a normal command prompt or the WMB command prompt added as part of the broker install? That sets up the PATH properly to reference the WMB libraries? |
Didn't that console only "appear" at V6. For V5, all the correct libraries should have been added to the path at install time.
Does the mqsicreatebar executable exist on your system. Is the directory it's in appear in the path.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Sep 13, 2007 9:28 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
v5 on Unix requires sourcing a sample profile, just like v6 on Unix does.
It's only on v6 that the mqsiprofile is required on Windows. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
ADV |
Posted: Thu Sep 13, 2007 9:37 am Post subject: |
|
|
Apprentice
Joined: 24 Apr 2007 Posts: 44 Location: Boston, MA
|
This command returns the following responses:
BIP0956 Unable to start mqsicreatebar
BIP0957 Incorrect arguments supplied to mqsicreatebar
BIP0958 Nothing to do in mqsicreatebar
BIP0959 Incorrect arguments supplied to mqsicreatebar (Project name)
BIP0960 Incorrect arguments supplied to mqsicreatebar (Project directory)
BIP0961 Error opening workspace in mqsicreatebar (Project could not be created)
BIP0962 Error opening workspace in mqsicreatebar (Project could not be opened)
BIP0963 Error saving file in mqsicreatebar
BIP0964 Incorrect "-o" argument supplied to mqsicreatebar
BIP0965 Error compiling files in mqsicreatebar
Examples
You must run the command from the eclipse directory. The default location of the eclipse directory on Windows is C:\Program Files\IBM\MessageBrokersToolkit\6.0\eclipse
The following example creates a bar file called myflow.bar in the workspace at C:\Workspace. The Test.msgflow message flow from the TestFlowProject is added to the bar file:
mqsicreatebar -data C:\Workspace -b myflow.bar -p TestFlowProject -o TestFlowProject\TestFlow\Test.msgflow
The following example creates a bar file called mySet.bar in the workspace at C:\Workspace. The messageSet.mset message set from the TestSetProject is added to the bar file:
mqsicreatebar -data C:\Workspace -b mySet.bar -o TestSetProject\TestSet\messageSet.mset
The following example creates a bar file called mySet.bar in the workspace at C:\Workspace. The messageSet.mset message set from the TestSetProject and Test.msgflow message flow from the TestFlowProject are added to the bar file:
mqsicreatebar -data C:\Workspace -b mySet.bar -o TestFlowProject\TestFlow\Test.msgflow
TestSetProject\TestSet\messageSet.mset |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Sep 13, 2007 9:39 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Right. MQSICreateBar is a <i>Toolkit</i> command, and is only available on machines with the Toolkit installed. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|