Midrange News for the IBM i Community


Posted by: clbirk
is there a way with wrkusrjob
has no ratings.
Published: 12 Dec 2012
Revised: 23 Jan 2013 - 1611 days ago
Last viewed on: 22 Jun 2017 (3241 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

is there a way with wrkusrjob Published by: clbirk on 12 Dec 2012 view comments(7)

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.

 

 

O

Return to midrangenews.com home page.
Sort Ascend | Descend

COMMENTS