Well, i have
Actually the current code i run is an easy one, issuing /D J,A and capturing the result
It lists all the tasks running on the system and i only need to filter out Jobs and the elapsed time
It is working fine but i thought there was a way to collect the same info from the control blocks
At least now i'm having a bit more understanding on using them
To access SDSF and capture the info i need, i use ISFCALLS
I also tried to get the active jobs from DA OJOB but did not succeed as i was unable to access it, only ST but that lists not only the active jobs,
even if i sort by queue, there are multipe jobs in execution status waiting for the active one to go and then they jump in.
Is there a way to capture jobs in DA OJOB or access SDSF, any other way you can think of ?
I'm interested in different solutions