in reply to Writing to a File

The following is the output from scheduler and the content in tmp file
found ABCD_060824010101.DAT found EFGH_060824010101.DAT found HIJK_060824010101.DAT Storing file names in file C:\\temp\\testtmp.tmp: SUCCESS Output from tmp ABCD118104505.DAT EFGH118104505.DAT HIJK118104505.DAT
And time stamp is missing...
Sridhar

Replies are listed 'Best First'.
Re^2: Writing to a File
by RobPayne (Chaplain) on Aug 25, 2006 at 13:37 UTC
    You've been asked several questions in the above responses. You might want to respond to those points if you expect the authors. How are you reading the file?
    It has been pointed out to you that the last print statement does not have a newline. Have you tried by changing the last print statement to:
    print TMP_FILE $busnDate ."\n";
    -rob
Re^2: Writing to a File
by perlfan (Parson) on Aug 25, 2006 at 14:19 UTC
    print some static text before/after/near the timestamp so that you know *something* is getting printed there. Once you figure that out, look at how you are assigning the date - I know under cron in *nix, you do not operate under the same user environment you are used to, so it may be the same with this scheduler...not sure if it affects things, but it just might if you are relying on your interactive environemnt.