Question:
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?
Answer:
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:
LJOB,JOB=*,LRUNDATE=(14001,14365),LRUNTIME=(0001,2359)
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