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
 
Clear my jobs in the spool.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Clear my jobs in the spool.
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: 2360
Location: Israel

PostPosted: Sun Dec 28, 2008 12:26 am    Post subject:
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    Post subject: Reply to: Clear my jobs in the spool.
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: 2360
Location: Israel

PostPosted: Sun Dec 28, 2008 12:36 am    Post subject:
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    Post subject: Reply to: Clear my jobs in the spool.
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: 2360
Location: Israel

PostPosted: Sun Dec 28, 2008 12:45 am    Post subject:
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    Post subject: Reply to: Clear my jobs in the spool.
Reply with quote

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

Senior Member


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

PostPosted: Sun Dec 28, 2008 4:28 am    Post subject: Reply to: Clear my jobs in the spool.
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    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
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts Spool Extract for Z /os 1.04 version Khadhar Basha CLIST & REXX 3 Thu Sep 28, 2017 3:14 pm
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 self-restarting jobs in OPC jzhardy IBM Tools 1 Mon Aug 21, 2017 10:15 am

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