I need to find duplicate job names in order to change them. How do I do that in BMC Control-M?
If you are running your Control-M on Unix you could export your jobs with ctmexdef
and then work with these files.
Export jobs:
#!/usr/bin/bash
for TABLE in `ctmpsm -SCHEDTAB -LISTTABLE "*" | sed '1d' | awk '{print $2}'`
do
ctmexdef -TABLE $TABLE -ACTION DEFINE -FILE /tmp/${TABLE}.out
done
Print duplicate jobs:
grep ctmdefine /tmp/*.out | uniq -d