IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to purge jobs at a time?


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
yujindl

New User


Joined: 20 Jun 2007
Posts: 2
Location: ChengDu,SiChuan,China

PostPosted: Mon Aug 13, 2007 8:15 pm
Reply with quote

HI, Everyone.
I am giving MF training to students. They are always submit too many jobs and forget to purge they. This will dramaticly make the PRINT QUEUE full and can not submit any jobs more.
How can i avoid this:
1.is there any options that specify that system will purge the jobs sumbitted like ,one days ago?
2.is it possible to purge the jobs by JCL, what should I code?I have no idea.
or is there any other way to avoid?
the way I am doing is to purge jobs using '//P ** //', but it is too hard to control.
Thanks
-------Jin
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Aug 13, 2007 8:55 pm
Reply with quote

normally there is a msgclass that will not print and will purge every 24 hours. X is typically this class, but you need to ask your mf ops people because it is site specific. Also, insure that you are not inadvertently picking an auto-archival class.

Also, if you are giving mf classes, the first thing I would teach is 'how not to disrupt the OP-Sys'.
Back to top
View user's profile Send private message
yujindl

New User


Joined: 20 Jun 2007
Posts: 2
Location: ChengDu,SiChuan,China

PostPosted: Mon Aug 13, 2007 9:14 pm
Reply with quote

Hi, Dick
Thank you for your information.
Usually, we used MSGCLASS = A in JCL. Did you say that MSGCLASS = X(typically) will not print and will purge every 24hour? if i change my jobs to MSGCLASS = X, Could i get the SYSPRINT information? And can i specify the system will purge not 24 hour but 12 hour? what are auto-archival class?
I am on a training system, and the there in no OPS people. the sysadmin seems too busy to answer my question.
Thanks again icon_smile.gif and welcome your first 'how not to disrupt the OP-Sys'
icon_smile.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Aug 13, 2007 9:49 pm
Reply with quote

Hello yujindl and welcome to the forums,

As Dick mentioned, the msgclass you want might be X, but it would be better to varify which class(es) you should use for your training.

Your other questions are system-specific (but they should be documented somewhere). Auto-archived happens automatically and it is not what you want for your student exercises - once you find out which class(es) are auto-archived, you will want to make sure they are not used.

If you cannot get the system support people to answer your questions, you may need to have your manager ask. When i've run into this, it is usually because they are just unwilling to take a few minutes - not because they are that busy 100% of the time.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Aug 13, 2007 11:03 pm
Reply with quote

You can use Batch SDSF Commands to purge jobs (and actually - to do anything under SDSF). Search this board for "batch SDSF" to see some examples.

O.
Back to top
View user's profile Send private message
kumaresh.M

New User


Joined: 17 Feb 2006
Posts: 64
Location: Bangalore

PostPosted: Wed Aug 22, 2007 6:58 pm
Reply with quote

Hi yujindl,
I thing non of the developers id is not having the authority to purge there jobs.
Before purging there is lot of considerations has to be takencare.

1)check the amount of SPOOL volume
2) we have to take the SPOOL offload and take a backup
3) and Move this jobs to internal DASD's
4) then we have to make a copy and kept this in offsite.

for this all we are having some deadlines.we did althose things and purging in every night.

Someother ways to clear the spool is

Recycling JES2 with cold start
doing on coldstart IPL's

But for doing everything you need a authority id.I cant get you how you can puge it by yourself????

Cheers,
Kumaresh.M
Back to top
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Wed Aug 22, 2007 11:32 pm
Reply with quote

We purge our own TEST jobs all the time. The production jobs are another story. The OP is talking about test jobs.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts To get the the current time DFSORT/ICETOOL 13
No new posts RC query -Time column CA Products 3
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Help in Automating Batch JCL jobs mon... JCL & VSAM 3
No new posts C Compile time time stamps Java & MQSeries 10
Search our Forums:

Back to Top