Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 8120
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
No new posts Optimize sort inrec parse vishwakotin DFSORT/ICETOOL 6 Mon Jun 26, 2017 11:15 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts XML Parse for large file muralikrishnan_new COBOL Programming 3 Mon Jun 12, 2017 12:50 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us