[AWA] How to get the list of jobs which are ("ENDED_INACTIVE - Inactive today because of Calendar." )

Document ID : KB000111636
Last Modified Date : 20/08/2018
Show Technical Document Details
Question:

How to get the list of jobs which are ("ENDED_INACTIVE - Inactive today because of Calendar." ) from the database?
Answer:

You may consider to search the AJPP table with the status 1920 ("ENDED_INACTIVE - Inactive today because of Calendar." ). and find the activation time of the Schedule in AH table.

For example:
select AJPP.AJPP_Object Job_Name, AJPP.AJPP_AH_Idnr RunID, AH.AH_TimeStamp1 Activation_time from AJPP, AH where AJPP.AJPP_AH_Idnr = AH.AH_Idnr and
AJPP.AJPP_status='1920'