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: 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: 10326
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 How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
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 column with count of rows within dist... ronald wouterson DB2 4 Sun Sep 17, 2017 9:48 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm

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