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

Clear my jobs in the spool.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
adithya.bannadi

New User


Joined: 11 Dec 2008
Posts: 4
Location: mysore

PostPosted: Sun Dec 28, 2008 12:09 am
Reply with quote

Hi,

How can i clear the spool so that i dont get long X-Wait.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Sun Dec 28, 2008 12:26 am
Reply with quote

When you say "the spool", what do you mean?

O.
Back to top
View user's profile Send private message
adithya.bannadi

New User


Joined: 11 Dec 2008
Posts: 4
Location: mysore

PostPosted: Sun Dec 28, 2008 12:35 am
Reply with quote

i meant the jobs in the spool.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Sun Dec 28, 2008 12:36 am
Reply with quote

Again, do you mean JES' spool? The spool dataset itself?

O.
Back to top
View user's profile Send private message
adithya.bannadi

New User


Joined: 11 Dec 2008
Posts: 4
Location: mysore

PostPosted: Sun Dec 28, 2008 12:44 am
Reply with quote

yes, JES spool..
can you tell me how to view JES spool, purge a job if its taking too much time and also clear unwanted datasets in it..

thanks in advance. i'm new to mainframes and couldn't find all these details anywhere else.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Sun Dec 28, 2008 12:45 am
Reply with quote

If you have SDSF or an equivalent product, these tasks are pretty easy.

O.
Back to top
View user's profile Send private message
adithya.bannadi

New User


Joined: 11 Dec 2008
Posts: 4
Location: mysore

PostPosted: Sun Dec 28, 2008 12:51 am
Reply with quote

OK.. I'll explore it.. thanks. icon_smile.gif
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2546
Location: Silicon Valley

PostPosted: Sun Dec 28, 2008 4:28 am
Reply with quote

My system has a 'JOBPURGR' program. It issues a $CJxxxx command (I think). And when used as the last job step and in conjunction with job return codes, you can invoke JOBPURGR to delete the job and all its output if the job completed successfully. Sorry, I do not have the source.

Perhaps you can write something similar in rexx for your own use. I think there are examples in the rexx forum for finding the job number.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
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 Submit multiple jobs from a library t... JCL & VSAM 14
No new posts Search string in job at regular Spool... CLIST & REXX 0
No new posts Ca7 long running jobs report All Other Mainframe Topics 1
Search our Forums:

Back to Top