Amos
16-03-20, 12:39
Wenn Du den Job noch in der QHST findest, kannst Du das per SQL auch mit der HISTORY_LOG_INFO table function machen:
https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_73/rzajq/rzajqudfhistoryloginfo.htm
z.B. so:
SELECT * FROM TABLE(QSYS2.HISTORY_LOG_INFO(
Start_time => (current_timestamp - 10 hours))) x
where from_job like '%MEINJOB%'
and MESSAGE_ID = 'CPF1164'
https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_73/rzajq/rzajqudfhistoryloginfo.htm
z.B. so:
SELECT * FROM TABLE(QSYS2.HISTORY_LOG_INFO(
Start_time => (current_timestamp - 10 hours))) x
where from_job like '%MEINJOB%'
and MESSAGE_ID = 'CPF1164'