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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML Generate compile error.

Status
Not open for further replies.

kissro

MIS
Jul 18, 2007
2
US
Hi,

I'm attempting to use the XML GENERATE statement to create XML from a record with 174 fields. The resulting XML will therefore contain 174 nodes or elements. I'm receiving this error when I try to compile the program:

5232 IGYPG3327-U Code generation processing encountered
an error in the intermediate code
(rc= 40). Contact your IBM
service representative.

I know it's occurring on the XML GENERATE statement because if I comment-out the statement then the program compiles. Is there a maximum number of fields/elements that the XML GENERATE statement can handle? I've tried commenting-out fields in the record and when I get to 165 fields, the program compiles cleanly and generates the XML. When I try with 166 fields, I get the compile error. I can find no information about this error. Does anyone know what is causing this or how to resolve this?

Thank you, Rod
 
You have posted the solution in your question:
Contact your IBM service representative

More seriously, which compiler on which OS ?
 
Our development is on Unix so I'm using IBM Cobol for AIX. For the mainframe, we use Enterprise Cobol for Z/OS. I think the compiler is version 2.0 and the mainframe release is 3.3.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top