Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to get list of jobs in a particular status ?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
virtualarun

New User


Joined: 18 Jan 2007
Posts: 3
Location: Chennai, India

PostPosted: Thu Jan 18, 2007 3:03 pm    Post subject: How to get list of jobs in a particular status ?
Reply with quote

Hi

I have a requirement where at the end of each day an administrator would be running a REXX utility that monitors the jobs currently in spool.
The REXX should use an input file that contains a list of owners. The final report should contain the jobs that are in EXECUTION status for each of the owners listed in the input dataset.
Any idea how I should approach this problem ?
Im pretty new to writing REXX utilities and a help in any form is highly appreciated.
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Jan 18, 2007 4:34 pm    Post subject:
Reply with quote

Search for batch SDSF in this forum. You will find lots of examples.

O.
Back to top
View user's profile Send private message
virtualarun

New User


Joined: 18 Jan 2007
Posts: 3
Location: Chennai, India

PostPosted: Fri Jan 19, 2007 12:48 pm    Post subject:
Reply with quote

Hi Ofer,

I have checked in this forum and the neighbouring forums. They have solutions for different kind of problems.
My requirement is specific as I got to check and retrieve i.e
Retrieval of the Job Owner name and Job Name from the spool based on 2 conditions:
1. The jobowner name should be present in the input dataset (containing a list if ids' )
2. The job should be in EXECUTION status.

Help in any form is highly appreciated.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts OLDS frozen in BACKOUT status when On... lind sh IMS DB/DC 3 Tue Feb 13, 2018 7:12 pm
No new posts Conversion of DLI update Jobs as BMP ... Gopinath Shanmugam IMS DB/DC 3 Wed Dec 20, 2017 12:02 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
No new posts self-restarting jobs in OPC jzhardy IBM Tools 1 Mon Aug 21, 2017 10:15 am
No new posts Testing rerad cursor for status with ... John F Dutcher DB2 8 Fri May 19, 2017 9:35 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us