Hi, I am trying to write some variables to a text file. I would like to have have output file naming convention with the date format included in it. Any help would be appreciated. Some thing like this dum1=sublin(result,5) date=subwrd(dum1,6) write(out_"date".out,date) Does anyone know how to do this. Thanks for your time, Krishna