I am taking a SOC 7 when doing a 2nd xml generate in a COBOL program. I am assuming I am missing some housekeeping after the first generate but can't find the syntax anywhere. If I do just one generate statement, than it works like a champ. Has anyone else experienced this problem? Any suggestions? Any help is greatly appreciated. Dan.