Create filerefs. The input fileref is temporary.
filename myinput temp lrecl=256; filename myoutput "c:\myxml\results\weeklyresults.xml" lrecl=256;