IBM Support

XML-CODE Returns Error 321 in COBOL Program

Troubleshooting


Problem

From a XML declaration with encoding="ISO-8859-1" we get XML-CODE = 00321. Using compiler option CODEPAGE(1200). We're using XML PARSE on this data item. 03 W01-DATA. 05 W01-DATA-POS OCCURS 1 TO 8000000 TIMES DEPENDING ON W01-DATALEN PICTURE X.

[{"Product":{"code":"SS6SG3","label":"Enterprise COBOL for z\/OS"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":["Compile","Compile"],"Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"3.4;4.1;4.2;5.1","Edition":"","Line of Business":{"code":"LOB17","label":"Mainframe TPS"}}]

To view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use the link to actual document below to access the full document. You will be asked to log on if you are not already logged in. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Historical Number

RTA000177111

Document Information

More support for:
Enterprise COBOL for z/OS

Software version:
3.4, 4.1, 4.2, 5.1

Operating system(s):
z/OS

Document number:
81785

Modified date:
08 August 2018

UID

swg21195192

Manage My Notification Subscriptions