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 » Generate a copybook from a messageset

Post new topic  Reply to topic
 Generate a copybook from a messageset « View previous topic :: View next topic » 
Author Message
alechko
PostPosted: Tue Nov 04, 2008 4:49 am    Post subject: Generate a copybook from a messageset Reply with quote

Apprentice

Joined: 12 Jan 2005
Posts: 37

Hi there,
Does anybody know of a possibility to generate a copybook from a mxsd?
I modified the CWF properties of Message Definition File and it would be very convenient to generate a copybook from it for our MF developers.

Any suggestions would be much appreciated.

Alik
Back to top
View user's profile Send private message Send e-mail
kimbert
PostPosted: Tue Nov 04, 2008 6:04 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Sorry - no plans to support this. What would the MF developers do with the copybook if you were able to generate it?
Back to top
View user's profile Send private message
alechko
PostPosted: Tue Nov 04, 2008 6:40 am    Post subject: Reply with quote

Apprentice

Joined: 12 Jan 2005
Posts: 37

They will be able to develop a cobol cics program that will receive these MQ messages.
Otherwise we would have to create the copybook by hand

Do you know a third-party program that does this generation?
I heard about XML Thunder but haven't tried it yet ...

Alik
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Tue Nov 04, 2008 7:04 am    Post subject: Reply with quote

Grand High Poobah

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

alechko wrote:
They will be able to develop a cobol cics program that will receive these MQ messages.
Otherwise we would have to create the copybook by hand


Normally you'd take the copybook they require and generate a message set from that. Hence the tool provided to convert copybooks into message sets.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
alechko
PostPosted: Tue Nov 04, 2008 7:07 am    Post subject: Reply with quote

Apprentice

Joined: 12 Jan 2005
Posts: 37

That's true when you integrate an existing cobol program to WMB.
What about new programs that exist in WMB and we want to develop in cics?
Back to top
View user's profile Send private message Send e-mail
kimbert
PostPosted: Tue Nov 04, 2008 3:07 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

It is much more common for a message broker application to interface with an existing CICS application. Your requirement is perfectly valid, but quite rare.
Quote:
Do you know a third-party program that does this generation?
I heard about XML Thunder but haven't tried it yet ...
A COBOL copybook can contain all sorts of information about the physical layout of the data in memory. Stuff like byte alignment and endianness. The message definition file will contain that info in schema annotations, but there is no third-party tool which will automatically read and convert it.
If you really want a tool to automate the process, you will probably have to write it yourself.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Nov 05, 2008 2:26 am    Post subject: Reply with quote

Grand High Poobah

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

alechko wrote:
What about new programs that exist in WMB and we want to develop in cics?


Programs don't exist in WMB, and by definition the broker can produce data in any format required by an external application. Hence you usually start with the external application (which is usually more restricted in terms of possible data layout, especially for CICS) and incorporate that into WMB.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » Generate a copybook from a messageset
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.