View previous topic :: View next topic |
Author |
Message |
Ogv Beginner

Joined: 23 Dec 2002 Posts: 10 Topics: 5 Location: NJ, USA
|
Posted: Thu Jul 10, 2003 2:48 pm Post subject: Utility to find long running jobs |
|
|
Is there a way to find long running jobs in the MVS - There can be chances for the developers to submit jobs and forget it without purging. Due to this sometimes jobs are running for 2-3 days incurring 1000's of $$$ cost... People unknowingly coding the TIME=NOLIMIT parm to the jobcards.
Thanks, OGV. _________________ Thank-you,
OGV. |
|
Back to top |
|
 |
apoorvakhatri Beginner
Joined: 06 Feb 2003 Posts: 7 Topics: 3
|
Posted: Thu Jul 10, 2003 4:00 pm Post subject: |
|
|
Yes, its possible with CA7. Here is how :
Use procedure UCC7BTI.
//STEP030 EXEC UCC7BTI
//BTERM.SYSPRINT DD DSN=XXXXXX.YYYYY.ZZZZZ,DISP=QQQ
//BTERM.SYSIN DD *
LPRRN,JOB=********
This is a CA7 batch command. So you can all the online commands that you use, in SYSIN.
All the best.
Apoorva. |
|
Back to top |
|
 |
Ogv Beginner

Joined: 23 Dec 2002 Posts: 10 Topics: 5 Location: NJ, USA
|
Posted: Thu Jul 10, 2003 4:02 pm Post subject: |
|
|
Hi,
I think we dont have CA-7 product installed. Anyway can you give some more information on the given PROC please. _________________ Thank-you,
OGV. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Thu Jul 10, 2003 4:16 pm Post subject: |
|
|
Aproova: The proc your have shown will only give the jobs which are completed. I guess Ogv wants to find out the long running jobs while they are running.
Ogv:usually sites are set up with ACF2 so that jobs are categorized with a max time.At our site we have a default run time of 30 minutes for tid jobs in production and 12 hours in the test region. After that jobs are cancelled automatically.
A simple way to find out long running jobs is as follows:
Go to SDSF
choose option DA
Type in
Here we are sorting the cpu-time descending , so that all the long running jobs will
be at the top.
Hope this helps...
cheers
kolusu |
|
Back to top |
|
 |
Kathi Beginner

Joined: 14 May 2003 Posts: 25 Topics: 0 Location: Mission Viejo, California
|
Posted: Thu Jul 10, 2003 7:35 pm Post subject: |
|
|
Quote: | People unknowingly coding the TIME=NOLIMIT parm to the jobcards. |
I'd like to know how they can "UNKNOWINGLY" code this.
This sounds more like a need for training and discipline. You should also have some sort of standard which does not allow test jobs to be run this way. |
|
Back to top |
|
 |
|
|