Which COBOL compiler?  If 4.1, did you compile with XMLPARSE(XMLSS) ?

The XML-CODE special register contains different values for the different 
parsers.  Looking at the codes, though, it appears you're either pre-4.1 or 
compiled with XMLPARSE(COMPAT).  So...

1 The parser found an invalid character while scanning white space outside 
element content.

Which is found in the Enterprise COBOL for z/OS V3.4 Programming Guide 
<http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY3PG31/CCONTENTS?SHELF=IGY3SH32&DN=SC27-1412-04&DT=20060329003636>.

The XML-CODEs are documented at
<http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY3PG31/APPENDIX1.4.1?SHELF=IGY3SH32&DT=20060329003636#HDRWQ1887>

and

<http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY3PG31/APPENDIX1.4.2?SHELF=IGY3SH32&DT=20060329003636#HDRWQ1894>

URLs will no doubt wrap.

I wrote a COBOL program to do the translation of XML-CODE to the appropriate 
text.  Hopefully our XML PARSE coders will decide to use it.

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]]on
Behalf Of Vince Smith
Sent: Tuesday, January 13, 2009 9:43 AM
To: [email protected]
Subject: XML Parse Errors


I am getting a XML CODE  of 001 on a COBOL XML Parse statement. Can
someone point me to the manuals that list all of the error codes that can be
generated from the COBOL XML Parse statement?

Thanks.

Vince


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to