I submit a job that runs REXX and then generates another job. So Job#1 runs, and using REXX, it generates and submits Job#2.
In Job#1, I was trying to determine when Job#2 has run and ended successfully.
I tried using REXX SDSF, but it doesn’t not seem like it is install here. We have IOF
Is it even possible to find a specific job and see if it ended successfully? Or it is only possible to see if a job is active or not?
I found this excellent piece of code which tells you if a task is active or not: http://www.mzelden.com/mvsfiles/jobchkrx.txt
I'm wondering if it's possible to know, using similar code, to see if a task (job) ran and is now completed successfully. The best would be to check the job status of a job that started after a specific datetime.
Any help would be appreciated, Thanks