Good morning,
I'm trying to take Bill Downall's advice and create my own XML file because the customer's requirements don't meet the standard Gateway export format. Everything seems to be going fine except there is a ctrl-Z at the end of the file that is driving the other guys crazy. All I'm doing is creating a Declare statement and in the While loop I start with 'Output to FileName ' then a series of Write statements to write the data to the file, then ending with the command 'Output Scr'. Does anyone have any suggestions how to get rid of the crtl-Z at the end of the file, or is there a better way to create the file in the first place. TIA, Paul Buckley

