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
 
XML-TEXT getting data in pieces

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

New User


Joined: 21 Mar 2009
Posts: 10
Location: Ohio

PostPosted: Fri May 23, 2014 9:59 pm    Post subject: XML-TEXT getting data in pieces
Reply with quote

Hi All,

I am doing parsing of a XML in my cobol program and checking for each tag being returned back from the services.

My program is expecting the tag to be as "COVG_BLOCK_FORM_EDITION_DATE" but when I displayed the XML-TEXT that my program is getting, it shows that as XML-TEXT as COVG_BLOCK_FO once and second time, it comes as RM_EDITION_DATE.

So how to handle this situation??

Appreciate any help in this regard.


Abhishek
Back to top
View user's profile Send private message

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Fri May 23, 2014 10:07 pm    Post subject: Reply to: XML-TEXT getting data in pieces
Reply with quote

What does the data look like?
Back to top
View user's profile Send private message
abhishek chhawcharia

New User


Joined: 21 Mar 2009
Posts: 10
Location: Ohio

PostPosted: Fri May 23, 2014 10:34 pm    Post subject: Reply to: XML-TEXT getting data in pieces
Reply with quote

I checked the data and here are the details.

When XML-EVENT = 'START-OF-ELEMENT', XML-TEXT is coming to me as itemName as expected and the CONTENT-CHARACTERS are coming as COVG_BLOCK_FO and then again next XML-EVENT = 'START-OF-ELEMENT' and the XML-TEXT is coming as itemName and the CONTENT-CHARACTERS are coming as RM_EDITION_DATE.


PS : I read about this special register as XML-INFORMATION which can be used to determine if the XML-TEXT is broken and continued in following tag. If this register has value 000000001 means its not broken and if it has value of 00000002 than it is broken.
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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am

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