View previous topic :: View next topic
|
Author |
Message |
kiran_polnati Warnings : 2 New User
Joined: 23 Jun 2005 Posts: 22
|
|
|
|
hi ,
i am dealing wiht MQ 's in my prgramme . Data comes over MQ my programe is to get the data from MQ using MQGET and store into the Working storage cobol varibales.
here is DATA in MQ is XML fromate like
<date>23453535</date>
<data1> // data1 is group Repetative nature
<data2>siss</data2>
<data3>2345</data3>
<data4> // data4 is the group Repetative nature
<data5>34434</data5>
<data6>sdfd </data6>
</data4>
</data1>
the data coming throught MQ in XML formate i wanted to unstring the data into COBOL varibales |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Your best bet would be to use COBOL's XML parse function. Are you familiar with it? |
|
Back to top |
|
|
kiran_polnati Warnings : 2 New User
Joined: 23 Jun 2005 Posts: 22
|
|
|
|
hi willia i am not femilier with COBOL s PARSE function please elobarate with EXAMPLES
thnks in advance |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
Back to top |
|
|
|