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
 
Count of Jobs runing under a userid...

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Count of Jobs runing under a userid...
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: 8631
Location: Back in jolly old England

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

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

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Wed Mar 04, 2009 3:15 pm    Post subject:
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: 2360
Location: Israel

PostPosted: Wed Mar 04, 2009 3:32 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10396
Location: italy

PostPosted: Wed Mar 04, 2009 4:14 pm    Post subject: Reply to: Count of Jobs runing under a userid...
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 http://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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Skip records depends on count lakshmiibmmainframes DFSORT/ICETOOL 5 Sun Dec 24, 2017 9:51 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 The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts ISMF Difference between volume count ... upendrasri IBM Tools 2 Tue Dec 05, 2017 12:40 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am

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