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

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

book

Article ID: 39061

calendar_today

Updated On:

Products

CA 7 Workload Automation

Issue/Introduction

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 

 

Environment

Release: ESPSEV99000-11.3-CA-7-Extended Support Plus
Component: