Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML-CODE of 417 in 'XML GENERATE' function

Status
Not open for further replies.

RICHINMINN

Programmer
Joined
Dec 31, 2001
Messages
138
I've got a COBOL program that has been running fine for about 9 months. I made a slight SQL change to it, necessitated by changing our DB2 v. 9 from compatibility mode to enable-new-function mode. Now I'm getting an XML-CODE value of 417 on the 'XML GENERATE' function, and I can't find any information on what this means.

Can anyone shed some light on this?

Thanks in advance.

Rich (in Minn.)
 
please post the compiler version you using, the exact change you made, and your ws variable definition please.

Regards

Frederico Fonseca
SysSoft Integrated Ltd

FAQ219-2884
FAQ181-2886
 
Rich,
I found a reference to code 417 in a Cobol for Aix 3.1 manual which said:
Element character content or an attribute value contained characters that are illegal in XML content. XML generation has continued, with the element tag name or the attribute name prefixed with 'hex.' and the original data value represented in the document in hexadecimal.

Not sure what compiler etc. you are on, but it may well be that this description applies. Have a look at the xml output that is generated, and see if you can spot whether this is the case.

Marc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top