Check out List Job (QUSLJOB) API - with a little programming, this should get you what you want. HTH
Unconfigured Ad Widget
Collapse
Announcement
Collapse
No announcement yet.
Monitoring jobs in a substem
Collapse
X
-
Monitoring jobs in a substem
I have a subsystem in which eleven jobs run constantly. Occassionally, one of the jobs will drop off. I'd like to write a program that runs in qbatch and monitors the jobs in this subsystem, and if it sees that one of the jobs is no longer running will issue a sbmjob command to get it started again. If anyone has done anything like this, and could point me in the right direction I'd be really grateful. TIA Em
-
Monitoring jobs in a substem
If you don't want to mess around with User Spaces, you can get the same information using the QGYOLJOB (Open List of Jobs) API. This is very fast, and returns the information you want in a receiver variable. If you would like some example code, please let me know. I'm at john.blenkinsop@ne.nykline.com
Comment
Comment