Author |
Message
|
phanisasi |
Posted: Thu Oct 20, 2011 9:09 pm Post subject: convert cobol cpybook to xml |
|
|
Newbie
Joined: 13 Sep 2011 Posts: 8
|
hi
what is the procedyre to convert cobolcpy book to xml.... |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Oct 21, 2011 6:18 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You can't do this.
A copybook is a logical definition of a message.
An XML is a document that represents an actual message. You can't convert a logical definition into an actual message. |
|
Back to top |
|
 |
zpat |
Posted: Fri Oct 21, 2011 6:24 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Oct 21, 2011 6:49 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
poorly phrased message broker (WMB) 101 query? _________________ MQ & Broker admin |
|
Back to top |
|
 |
zpat |
Posted: Fri Oct 21, 2011 7:03 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Yes, but if you know what he meant, why not be helpful or keep quiet?
Jeff raises implicit sarcasm to an art form, but it can be overdone. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Oct 21, 2011 7:15 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
zpat wrote: |
Yes, but if you know what he meant, why not be helpful or keep quiet?
Jeff raises implicit sarcasm to an art form, but it can be overdone. |
Just wanting to be sure. From all I know and looking at the forum he posted it in (general disc.) he might be looking at a pojo to do the work for him, or expecting us to give him suggestions about which software to use for such a task? _________________ MQ & Broker admin |
|
Back to top |
|
 |
Vitor |
Posted: Fri Oct 21, 2011 7:17 am Post subject: Re: convert cobol cpybook to xml |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
phanisasi wrote: |
what is the procedyre to convert cobolcpy book to xml.... |
Given that it's both Friday and payday:
Reforming the question into one more likely to be the one intended:
"What is the procedure to convert a message described by a COBOL copybook into XML?"
The basic options are:
- Add an XML wire format to the message set you built from the copybook and use that
- Map the message set you built from the copybook to the message set you built from the XSD
- Write code to build the XML from the message tree produced from the message set you built from the copybook
All of this is simple "how do I use WMB" stuff. Just like here, and indeed all your earlier posts. Glad to see you're not wasting valuable development time learning anything about the product, and hope you're still writing the same high standard of ESQL you posted in your previous thread.
Or that you're still getting interviews in this tough economy. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
smdavies99 |
Posted: Fri Oct 21, 2011 8:19 am Post subject: Re: convert cobol cpybook to xml |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Vitor wrote: |
Or that you're still getting interviews in this tough economy. |
I wish...  _________________ 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 |
|
 |
|