MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Utility to find long running jobs

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
Ogv
Beginner


Joined: 23 Dec 2002
Posts: 10
Topics: 5
Location: NJ, USA

PostPosted: Thu Jul 10, 2003 2:48 pm    Post subject: Utility to find long running jobs Reply with quote

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
View user's profile Send private message Send e-mail
apoorvakhatri
Beginner


Joined: 06 Feb 2003
Posts: 7
Topics: 3

PostPosted: Thu Jul 10, 2003 4:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ogv
Beginner


Joined: 23 Dec 2002
Posts: 10
Topics: 5
Location: NJ, USA

PostPosted: Thu Jul 10, 2003 4:02 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu Jul 10, 2003 4:16 pm    Post subject: Reply with quote

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
Code:
SORT CPU-TIME D


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
View user's profile Send private message Send e-mail Visit poster's website
Kathi
Beginner


Joined: 14 May 2003
Posts: 25
Topics: 0
Location: Mission Viejo, California

PostPosted: Thu Jul 10, 2003 7:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group