I wrote a script that executes through the Scheduler that renames the capture file daily. I use a different capture file for each file transfer. This file will date stamp the capture file name.
proc main
integer Month, Day ; Integers to contain date and
integer Year, Hour ; time converted from long
integer Min, Sec ; date and time.
string MonStr, DayStr ; hold day and month in string format
string FileName="capture file name here"
string FName="capture file name here"
; Convert long time value into it's counter parts, year,
; month, day, hour, min, and sec.
ltimeints $LTIME Year Month Day Hour Min Sec
; Convert integer values into string values with a length of 2 characters
strfmt MonStr "%02d" Month
strfmt DayStr "%02d" Day
; Insert month and date strings into generic file string
strinsert FName MonStr 20 2
strinsert FName DayStr 22 2
if not rename FileName FName ; Rename the file
endif
endproc