Just had another thought on your suggestion about the WRITELINEs I seem to be doing everywhere.
Would it be a better choice to open the logfile, and immediately below it use RedirectOutput($ARCHIVELOG)
and remove the WRITELINE commands? This would mean I could capture the output from Blat, RAR and UNRAR directly to the log file, as I think this would be served well in the file.
The benefits would be that if there are problems, then I can just comment out that line and see it on screen running it manually. Also the script would be smaller and easier to diagnose if problem turn up instead of having screen output and log file output seperately?
Ideas?
Pax