How to get a list of jobs that last ran within a specified period of time

Document ID : KB000039061
Last Modified Date : 14/02/2018
Show Technical Document Details


 Need to get delete some old jobs that are in the database, that have not ran in a long time or a specified period of time. How can I get a list of these jobs?



 You can use the LJOB command in a BTI (batch terminal interface) job to list job with run date range. Here is an example of the command:



The above example will show jobs that last ran from Jan 1st 2014 until Dec 31st 2014. Meaning these jobs have not ran in over a year and probably can be deleted from data base


 Additional Information:

See the CA 7 Commands Guide for more information regarding the LJOB command