>TRY > MessageFullFileName = ALLTRIM(THIS.HL7OutDirectory) + SUBSTR(SYS(2015),4,8) + ".HL7" > STRTOFILE(THIS.oSendData.strProcessData,MessageFullFileName,0) >CATCH TO oException > MessageFullFileName = ALLTRIM(THIS.HL7BackupDirectory) + SUBSTR(SYS(2015),4,8) + ".HL7" > STRTOFILE(THIS.oSendData.strProcessData,MessageFullFileName,0) >ENDTRY >I think, it will just try to create a file with the complex name. Interestingly, is \ allowed in the filename? I would think not.