Thanks, I'll take a look at that. I'm sure that the code can be cleaned up, the process is always on-going :-). For most of our processes, this isn't a big deal, everything works reasonably well but there is one program that dies if it cannot write to STDOUT (either as a file or to the screen).
"Ex Libris un Peut de Tout"