How to put the multiple job on-hold using shell script?

Hi..

I need to put multiple jobs on ON HOLD in Autosys.. please help me on this.

For Example:
1)ABCD_EFGH_IJKL
2)abcd_efgh_ijkl

I suggest you contact your Computer Associates support team for assistance with this product, assuming that:-

  1. It is the CA product you are enquiring about
  2. You have paid the licence and support fees

Robin

If you have a valid license from CA you can use the below script:

make a 0 byte file (abc.txt) in your home directory and this file is used to paste the job names. the content of this file may vary from time to time.

Now create a small script as follows:

for i in `cat <home_dir>/abc.txt`
do
  sendevent -E JOB_ON_HOLD -J $i
done

It is working for me from years. Let me know the results.

Thanks,
Mohan.