MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

What is the limit of XML PARSER in COBOL?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
viswanathan
Beginner


Joined: 17 Jan 2006
Posts: 26
Topics: 13

PostPosted: Wed May 05, 2010 12:11 pm    Post subject: What is the limit of XML PARSER in COBOL? Reply with quote

We are using XML PARSE in our COBOL Stored Procedure Code, where we receive the input in XML format of size ~5mb (Input parm is defined as CLOB Datatype).

We are encountering error (SOC 4) if the size is > 2mb.
If we pass the input of size ~ 2mb, then the Stored Procedure works fine.

Is there any specific limit for XML Parse?
Back to top
View user's profile Send private message
papadi
Supermod


Joined: 20 Oct 2009
Posts: 594
Topics: 1

PostPosted: Wed May 05, 2010 2:54 pm    Post subject: Reply with quote

Look here (near the bottom):
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/handheld/Connected/BOOKS/igy3lr50/APPENDIX1.2

There may be a size issue with the stored procedure (rather than COBOL).

You might try cloning the sp code into just a callable routine of a new name with no db2 and see if the problem persists.
_________________
All the best,

di
Back to top
View user's profile Send private message
viswanathan
Beginner


Joined: 17 Jan 2006
Posts: 26
Topics: 13

PostPosted: Fri Jun 04, 2010 10:43 am    Post subject: Reply with quote

Language element :
XML PARSE statement, maximum size of identifier


Compiler limit : 134,180,862 bytes (67,090,431 national character positions)

Thanks for the info papadi!
Back to top
View user's profile Send private message
papadi
Supermod


Joined: 20 Oct 2009
Posts: 594
Topics: 1

PostPosted: Fri Jun 04, 2010 4:44 pm    Post subject: Reply with quote

You're welcome Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group