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: 8189
Location: East Dubuque, Illinois, 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. Cobol to fetch the content by using s... arunc55 COBOL Programming 4 Fri Nov 17, 2017 1:25 pm
No new posts VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am
No new posts COBOL - EXIT statement weird behavior anthony.pangestu COBOL Programming 0 Fri Oct 27, 2017 9:57 am
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

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