Find duplicate job names in BMC control-m -
i need find duplicate job names in order change them. how do in bmc control-m?
if running control-m on unix export jobs ctmexdef
, work these files.
export jobs:
#!/usr/bin/bash table in `ctmpsm -schedtab -listtable "*" | sed '1d' | awk '{print $2}'` ctmexdef -table $table -action define -file /tmp/${table}.out done
print duplicate jobs:
grep ctmdefine /tmp/*.out | uniq -d
Comments
Post a Comment