Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 Determine Region with max bandwidth f... seahawk789 COBOL Programming 3 Mon Feb 27, 2017 8:26 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
This topic is locked: you cannot edit posts or make replies. session stuck in TPX with status ACL amitc23 CA Products 1 Tue Dec 13, 2016 12:53 pm
No new posts Cobol list of programs being called biswajit.dattagupta COBOL Programming 5 Tue Nov 01, 2016 2:10 am
No new posts How to show message using batch jobs madprasy TSO/ISPF 7 Fri Sep 09, 2016 6:55 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us