Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to handle XML tags in cobol

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
kiran_polnati
Warnings : 2

New User


Joined: 23 Jun 2005
Posts: 22

PostPosted: Sun Feb 04, 2007 7:13 pm    Post subject: How to handle XML tags in cobol
Reply with quote

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
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Sun Feb 04, 2007 7:21 pm    Post subject:
Reply with quote

Your best bet would be to use COBOL's XML parse function. Are you familiar with it?
Back to top
View user's profile Send private message
kiran_polnati
Warnings : 2

New User


Joined: 23 Jun 2005
Posts: 22

PostPosted: Sun Feb 04, 2007 7:30 pm    Post subject: Re: how to handle xml tags in cobol
Reply with quote

hi willia i am not femilier with COBOL s PARSE function please elobarate with EXAMPLES


thnks in advance
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Sun Feb 04, 2007 7:38 pm    Post subject:
Reply with quote

You will get more help from these manuals, the ENTERPRISE COBOL Language Reference and the
ENTERPRISE COBOL Programming Guide , trust me.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts ALPHABETIC check in COBOL vidyaa COBOL Programming 8 Thu Aug 17, 2017 7:13 pm
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us