Wait...since they never received a file back before.... Try changing: PCPERFORM "rm ":OUTPUT to PCPERFORM "/bin/rm ":OUTPUT
Some environments alias the rm command so it confirms if you really want to delete and that may be tanking out your PCPERFORM because it's asking for input? George > -----Original Message----- > From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- > boun...@listserver.u2ug.org] On Behalf Of charles_shaf...@ntn-bower.com > Sent: Friday, August 05, 2011 12:04 PM > To: U2 Users List > Subject: Re: [U2] Job won't run > > >> George > >> Since you say it's sending the same file each day, then it's not > >> just the Unibasic that is not running, the rm isn't working either, > >> otherwise, you would be sending a blank file over and over. > > The remove and touch affect the log file. The data file is cleared in > the > program. Since the program doesn't execute, the file doesn't change. > > * Clear the output file > OUTPUT = "/NTN/DATA/CORPORATE/FILES_AS400/BOWER_FPO" > PCPERFORM "rm ":OUTPUT > PCPERFORM "touch ":OUTPUT > _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users