How to view which jobs are uploaded on control-m server ? i.e to find all jobs that are eligible for new day scan.
Anybody knows which table this information is stored ?
Any help in this regard is appreciated.
Thanks,
Sameer.
Jobs Uploaded On Control-M Server ?
Tables are uploaded to CTM not individual jobs. Associatively, it is tables you will need to look at first. If you do not trust your EM data (last upload and user daily fields), you can view the tables which have a specific user daily using command line utilites. For example:
ctmpsm -schedtab -listtable "*" | grep SYSTEM
Once you know which tables will be evaluated at newday (i.e. the SYSYTEM userdaily), you can then look in each of the tables and see the possible jobs that might be loaded.
A simple shell command which may give want you are looking for is:
for i in `ctmpsm -schedtab -listtable "*" | grep SYSTEM | awk -F\) '{print $1}'`; do ctmpsm -schedtab -listjobs $i; done
I hope this helps.
ctmpsm -schedtab -listtable "*" | grep SYSTEM
Once you know which tables will be evaluated at newday (i.e. the SYSYTEM userdaily), you can then look in each of the tables and see the possible jobs that might be loaded.
A simple shell command which may give want you are looking for is:
for i in `ctmpsm -schedtab -listtable "*" | grep SYSTEM | awk -F\) '{print $1}'`; do ctmpsm -schedtab -listjobs $i; done
I hope this helps.
- philmalmaison
- Nouveau
- Posts: 1148
- Joined: 08 Jun 2007 12:00
- Location: Ile de France
- Henk Trumpie
- Nouveau
- Posts: 22
- Joined: 27 Jul 2007 12:00