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: 8339
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. Issue in suppressing leading zeros &a... Vijay_Sirisha COBOL Programming 21 Thu Jun 07, 2018 8:01 pm
No new posts VBS to VB in COBOL and JCL srajendran2 COBOL Programming 12 Fri Jun 01, 2018 3:04 am
This topic is locked: you cannot edit posts or make replies. Rexx code to find greater then symobl... Bharath Vikraman CLIST & REXX 8 Tue May 29, 2018 9:40 am
No new posts How to convert 2 bytes into single by... pkmurali DB2 6 Fri May 25, 2018 1:41 pm
No new posts SYSADATA - COBOL - Structure displace... ganasrinivasan COBOL Programming 3 Thu May 24, 2018 9:45 pm

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