Ooops... I just reread the OP's message.

Any time you run a job as a phantom it will write out to &PH&.

A better method may be to have a job start once in the morning and run all day. 
Have a VOC item do a LOOP/REPEAT. If it finds the file it runs DUPCHECK, the 
sleeps, otherwise just sleep.  At the top of your loop check for for time of 
day/record in a flag file, etc to see if the job should quit.

You will still get an entry in &PH&, but it will be only 1 per day.

-----Original Message-----
From: Hennessey, Mark F. 
Sent: Thursday, October 05, 2006 2:04 PM
To: '[email protected]'
Subject: RE: [U2] Cron job creates many &PH& entries


Try changing 
cd /usr/yyy/XXX
/usr/ibm/uv/bin/uv "PHANTOM DUPCHECK"

To:
cd /usr/yyy/XXX
exec `cat /.uvhome`/bin/uv > /dev/null <<END
PHANTOM DUPCHECK
LO
END

I honestly can't remember why I launch my cron jobs this way...  but I think it 
had to do with similar issues.
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to