John
John

Reputation: 1922

Parsing USS XML file in Cobol?

I am using the Cobol XML Parser to parse an xml document that originated from the HFS (USS) file system through batch JCL.

My problem is that the XML Parser is returning "XML DOCUMENT ERROR 0000000317" which seems to be an encoding issue.

Does anyone know how to get past this?

Thanks

Upvotes: 1

Views: 703

Answers (1)

Joe Zitzelberger
Joe Zitzelberger

Reputation: 4263

You will need to ensure that the encoding tag on the XML declaration is valid and agrees with what the actual document is. You will also need to make sure that the LPAR you are running on has the proper code page conversions defined in Unicode Conversion Services for z/OS.

Upvotes: 2

Related Questions