what if you throw a whoami, groups and env into the script and check your logfile against those values when your on the CL, to see if anything jumps out.
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 > > >> How are you running this script from the AS400? rsh? If so, has > > The actual command on the AS400 is: > RUNRMTCMD CMD('/NTN/DATA/CORPORATE/PROCESSES/fpo_as400') > RMTLOCNAME('xx.xxx.xxx.xx' *IP) RMTUSER(xxxx) RMTPWD(xxxxxxxx) > I looked into this one time and the AS400 is running an rsh underneath. > > >> has the user that running it on the AS400 changed? > They say no and I believe them because it would have affecteed many > jobs. > This is Redhat and the default shell is bsh. We run lots of ksh > scripts > on it. They were ported over from Tru64 many years ago. > > Charles Shaffer > Senior Analyst > NTN-Bower Corporation > _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users