Here is what I want to do, I want to be able to run (batch) a wrkusrjob
WRKUSRJOB USER(*ALL) STATUS(*ACTIVE) JOBTYPE(*INTERACT)
but capture the spooled output into a physical file so that I can go and then read through it.
Or maybe there is a better way. Basically what I want to do is that I want to make sure that at 11:45 p.m that there is only x number of jobs showing (any more or less) means that there is an issue and backup won't run (or be right) (as folks are on). And if there isn't then it will send an alarm to me (text or whatever).
I read a bit with the wrkusrjob that ovrprtf does not work with it, etc. maybe I misunderstood.
Or is there some other way to retrieve active interactive job listing?
Recall primarily running in S/36E mode but have various other stuff running. I also have php on the box so if retrieval is easy with php, that too would be an option.