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
 

 

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: 8593
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: 10231
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 Display FTP Session Count within TSO Yolanda Harvey TSO/ISPF 3 Fri Mar 10, 2017 10:31 pm
No new posts Determine Region with max bandwidth f... seahawk789 COBOL Programming 3 Mon Feb 27, 2017 8:26 pm
No new posts Count Trailing Spaces in variable str... Virendra Shambharkar SYNCSORT 10 Thu Feb 02, 2017 12:23 pm
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm
No new posts Get Record count in summary record fo... Atul Banke DFSORT/ICETOOL 21 Fri Sep 23, 2016 4:17 pm


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