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
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