Good morning learned, wise and gentle folks,
I am preparing a sample for my (more junior) COBOL programmers and get the above exception while parsing with validation
(*XML Parse myXML(1:XMLL) Validating myXSD Processing procedure PP End-XML*)
after the xls is read into memory.
Any ideas where I can find the error description? Unfortunately both COBOL manuals and the XML guide do not give any expalanation on this one.
This topic has been locked.
6 replies Latest Post - 2013-01-02T18:59:44Z by SystemAdmin
Pinned topic Exception 000529668 while parsing using XMLPARSE(XMLSS)
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-01-02T18:59:44Z at 2013-01-02T18:59:44Z by SystemAdmin
brataj 100000816340 PostsACCEPTED ANSWER
Re: Exception 000529668 while parsing using XMLPARSE(XMLSS)2012-12-24T17:01:31Z in response to SystemAdminThe exception needs to be translated to hex (0008 1504), after which you can look up the lower halfword in the XML System Services manual. It is a tad generic though:
1504 XRSN_OSR_INVALID The data within the OSR is invalid.
I'd suggest trying the VALIDATING WITH FILE variant to verify you built the OSR correctly. If that works, then apparently
you didn't read the OSR correctly.
Re: Exception 000529668 while parsing using XMLPARSE(XMLSS)2012-12-24T17:05:27Z in response to bratajThank you Bernie ... much obliged ... I have a sample working with "File" just wanted to see how the other option works. I am reading in the XLS from USS (with the PATH setting in the DD card) and the buffer is full of X'15' (NewLine) at each and every turn, any suggestions there?
BillWoodger 270005Q076108 PostsACCEPTED ANSWER
Re: Exception 000529668 while parsing using XMLPARSE(XMLSS)2012-12-27T23:53:41Z in response to SystemAdminSelect and copy the decimal number into the "paste buffer". Fire up your PC calculator, select "programming" or "scientific" if "programming" not available. Ensure that Dec is current display format. Paste into the box. Select Hex. You see 81504. That is X'00081504'.
Re: Exception 000529668 while parsing using XMLPARSE(XMLSS)2013-01-02T18:59:08Z in response to BillWoodgerThank you gentlmen ... turns out our MVS guys did not set up yet all my stuff I require (on the USS side) and that is why I cannot run successfully the xsdosrg command.
OTH, I thought it considerate to write code to convert the decimal return to XML return and reason.
My displays look now most civilized:
Unexpected XML event: EXCEPTION Parsing Exception, Return Code 0008 Reason Code 1504
Happy New Year,