IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Count of Jobs runing under a userid...


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mpawankumar

New User


Joined: 26 Sep 2007
Posts: 7
Location: Chennai

PostPosted: Wed Mar 04, 2009 3:05 pm
Reply with quote

Hi,

I have a set of 20 jobs. On successfull completion of Frist job it will trigger the next jobs. But, there are jobs that run for long time. Jus because of these jobs i dont want the other jobs in the line to wait. At any point of time 3 jobs can run under my id. So, i want to know how can i check the number of jobs running under my id and if the count is lessthan 3 i want to trigger the next job in the line to complete all the jobs with time efficiency.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Mar 04, 2009 3:08 pm
Reply with quote

SDSF;DA perhaps
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Wed Mar 04, 2009 3:15 pm
Reply with quote

Hi,

scheduling software is ideal for this, if you have it.


Gerry
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed Mar 04, 2009 3:32 pm
Reply with quote

A little batch SDSF REXX sound like a nice solution...

O.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Mar 04, 2009 4:14 pm
Reply with quote

but why, asked for the zilliotnth time, do You want to write Your own scheduler

talk to your support to investigate the use of Your scheduler special resources
that' s what they are called in the TWS environment

note special resources are some kind of enqueue mechanism that keep also count of the enqueues
see publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/eqqtmg20/1.5.3?ACTION=MATCHES&REQUEST=special+resources&TYPE=FUZZY&SHELF=EQQTBK20.bks&DT=20070130154459&CASE=&searchTopic=TOPIC&searchText=TEXT&searchIndex=INDEX&rank=RANK&ScrollTOP=FIRSTHIT#FIRSTHIT
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Finding and researching jobs All Other Mainframe Topics 0
No new posts To get the count of rows for every 1 ... DB2 3
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Validating record count of a file is ... DFSORT/ICETOOL 13
Search our Forums:

Back to Top