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:
LJOB,JOB=*,LRUNDATE=(23001,23365),LRUNTIME=(0001,2359)
The above example will show jobs that last ran from Jan 1st 2023 until Dec 31st 2023. Meaning these jobs have not ran in over a year and probably can be deleted from data base.