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 » Re-Write old WMB msg Flows in v7

Post new topic  Reply to topic Goto page 1, 2  Next
 Re-Write old WMB msg Flows in v7 « View previous topic :: View next topic » 
Author Message
mca
PostPosted: Tue Aug 23, 2011 9:43 am    Post subject: Re-Write old WMB msg Flows in v7 Reply with quote

Disciple

Joined: 09 Mar 2005
Posts: 196

Hi,

We have two Message Broker Bar files running in Production. One Bar file has message flow that converts IMS Message (Cobol) into XML. Other Bar file contains message flow that converts XML message into IMS (Cobol). Both these flows were written in WMB v5.3. Now my manager wants me to re-write both these flows in WMB v7.

Is it easy for me to import the existing v5.3 Bars into v7 Toolkit, recompile and deploy or start development from scratch?

Any advice will be very appreciated.

Thanks,
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger
lancelotlinc
PostPosted: Tue Aug 23, 2011 10:00 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

If I had a choice, I would rewrite from scratch.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Tue Aug 23, 2011 10:07 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

First of all BAR files normally contain executable not source code (but they may have source if the option was chosen to include it).

The source for this BAR should be in your source control library. Are you saying that you have lost the source?
Back to top
View user's profile Send private message
mca
PostPosted: Tue Aug 23, 2011 10:19 am    Post subject: Reply with quote

Disciple

Joined: 09 Mar 2005
Posts: 196

The BAR files have the source code in them. But when i try to import the source in v7, compile it and deploy, it does not work.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger
Vitor
PostPosted: Tue Aug 23, 2011 10:26 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mca wrote:
it does not work.


Define "does not work". Deploying code as old as v5.3 probably won't work until you've removed references to replaced features.

The migration guides for 6.0 & 6.1 might help if the deploy errors don't
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue Aug 23, 2011 10:42 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Did you 'unzip' the .bar file first to extract the sources before importing them into the toolkt?
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
mca
PostPosted: Tue Aug 23, 2011 11:03 am    Post subject: Reply with quote

Disciple

Joined: 09 Mar 2005
Posts: 196

When i unzip and extract the BAR file, i got 3 folders META-INF, MessageSet_Project and MessageFlow_Project. In addition to these there are 3 files .cmf, .dictionary, .xml that got extracted.

How do you recommend me to import these into v7 Toolkit?
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger
mqjeff
PostPosted: Tue Aug 23, 2011 11:06 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

There's no such thing as Broker v 5.3.

The only way to "import" a Bar file is to use the Generate Message Flow pattern.

If these message flows are really as simple as you say, it may be easier for you to just rewrite them from scratch.

Unless your flows are significantly more complex than MQInput->Compute->MQOutput.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Aug 23, 2011 11:08 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mca wrote:
When i unzip and extract the BAR file, i got 3 folders META-INF, MessageSet_Project and MessageFlow_Project. In addition to these there are 3 files .cmf, .dictionary, .xml that got extracted.


You said previously that:

mca wrote:
The BAR files have the source code in them


It doesn't sound much like it from that description. What leads you to the conclusion that these bar files were built with included source?

mca wrote:
How do you recommend me to import these into v7 Toolkit?


Well you don't from the sound of it. They sound like they contain the compiled components.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mca
PostPosted: Tue Aug 23, 2011 11:15 am    Post subject: Reply with quote

Disciple

Joined: 09 Mar 2005
Posts: 196

We have a mandatory procedure in our client to add the source code to the BARS and i can also import it into tool kit and see the flows.

But when i try to compile the imported flows and deploy on server it doesn't work. I feel i am not doing the import of source files correct way into toolkit.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger
mqjeff
PostPosted: Tue Aug 23, 2011 11:17 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

mca wrote:
I feel i am not doing the import of source files correct way into toolkit.


That's correct, you aren't.

I've told you the correct way.
Back to top
View user's profile Send private message
mca
PostPosted: Tue Aug 23, 2011 11:49 am    Post subject: Reply with quote

Disciple

Joined: 09 Mar 2005
Posts: 196

Our environment is z/Linux and we have 3 BAR's (3 Message flows) running on the server. If i run the generate pattern, how will it differentiate the 3 flows. Will i get the flows in such a way that i can make changes and deploy it in server?

Thanks for your replies...
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger
mqjeff
PostPosted: Tue Aug 23, 2011 11:54 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

What happens when you try it?

What does the documentation say will happen?
Back to top
View user's profile Send private message
mca
PostPosted: Tue Aug 30, 2011 7:37 am    Post subject: Reply with quote

Disciple

Joined: 09 Mar 2005
Posts: 196

My Broker is running on Linux. I tried to download the pattern on my desktop and install here, but did not get an executable when i extract the zip.

Can you please help me the install this pattern.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger
mqjeff
PostPosted: Tue Aug 30, 2011 7:48 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/index.jsp?topic=%2Fcom.ibm.etools.mft.doc%2Fac67860_.htm
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Re-Write old WMB msg Flows in v7
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.