Put some echo statements inside the script for FTP_LOG ,START_DATE etc.. and for understanding run each command seperately (seperated by '|' )
It looks like printing the 9 th filed from FTP_LOG first and declaaring variables like START_DATE inside the awk, seperator is ' . '. and substtuting the values with gsub function.