Hi Richard, thanks for your reply,
I have installed two autosys environments one for PRD and one for UAT r11.3.6 sp7. I'm running these jobs from the autosys server on both as owner autosys.
on UAT it works fine, but on my PRD it doesnt like it and falls, saying autorep not found .. It's probably something really simple, but cant put my finger on it
cheers.
Original Message:
Sent: 07-17-2019 06:00 PM
From: Richard Kao
Subject: autorep not found
When you say "job cant do the autorep" I assume you are trying to run your script using an agent. Which agent did you install. There are two ways to install the agent, the System Agent install or the AE Agent install. The System Agent install will not be able to run CLIs with out manually setting up the AE environment. The AE Agent install will be installed with the ability to run the AE CLIs.
Original Message:
Sent: 07-17-2019 12:45 PM
From: matthew morris
Subject: autorep not found
Hi All
just a bit baffled, I have set up job to run which works well on one of my ACE
dir='/opt/LVtechops/archive/UA1/daily'
dir1='/opt/LVtechops/archive/UA1/monthly'
dir2='/opt/LVtechops/archive/UA1/machines'
dir3='/opt/LVtechops/archive/UA1/details'
case "$1" in
-d) autorep -J % -q > $dir/dailyUA1.`date +%d%m%Y`
;;
-m) autorep -J % -q > $dir1/monthlyUA1.`date +%d%m%Y`
autorep -w -q -M ALL > $dir2/machinesUA1.`date +%d%m%Y`
;;
-u) autorep -J ALL -q > $dir1/monthlyUA1.`date +%d%m%Y`
autorep -w -q -M ALL > $dir2/machinesUA1.`date +%d%m%Y`
;;
-l) autorep -J ALL -d > $dir3/detailsUA1.`date +%d%m%Y`
;;
esac
but I have installed the script on my new ACE
and the job cant do the autorep
error
autorep: not found [No such file or directory]
what am i missing ?
cheers