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 Parse for COBOL 5.2

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

New User


Joined: 04 Feb 2016
Posts: 3
Location: India

PostPosted: Sat Jul 08, 2017 8:58 pm    Post subject: XML Parse for COBOL 5.2
Reply with quote

Hello all,

I have a cobol program which performs XML PARSE.The XML PARSE function returns XML-CODE of 2 with cobol 3 compiler. The same function returns XML-CODE of 1 with cobol 5.2 compiler for the same input data. what can be the reason behind this and what can be the fix? Please advise on this.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8280
Location: Dubuque, Iowa, USA

PostPosted: Sun Jul 09, 2017 5:51 am    Post subject: Reply to: XML Parse for COBOL 5.2
Reply with quote

Quote:
The same function returns XML-CODE of 1 with cobol 5.2 compiler for the same input data. what can be the reason behind this and what can be the fix?
The reason is that different compilers are NOT guaranteed to produce exactly the same results for every set of data, and the fix is to use a single compiler.

Have you looked at the discussion on XML-CODE starting on page 533 of the Enterprise COBOL V5.2 Programming Guide manual? If not, you need to start reading.
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
This topic is locked: you cannot edit posts or make replies. Difference between EQUAL and EQUAL TO... jithinraghavan COBOL Programming 3 Thu Apr 19, 2018 2:22 am
No new posts Call COBOL or PLI with a click from w... vaibhav gs All Other Mainframe Topics 1 Mon Apr 16, 2018 7:29 pm
No new posts COBOL MVS options BiswajitDG COBOL Programming 8 Fri Apr 06, 2018 12:35 am
No new posts batch cobol/db2 paragraph fall thru a... alois eisshofer COBOL Programming 5 Wed Mar 14, 2018 12:21 am
No new posts write multiple lines in PS file in cobol Balu5491 COBOL Programming 7 Wed Mar 07, 2018 10:27 am

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