How to purge jobs submitted using rexx
-
- Registered Member
- Posts: 22
- Joined: Thu Jan 30, 2014 9:58 am
How to purge jobs submitted using rexx
We have a automated rexx script which will submit job every 5 seconds or something
Of around 3800 jobs
When I submit the rexx script
It floods my spool
When no of jobs in my spool goes beyond 300
Operator calls me for more no of jobs
So I want to purge jobs once it is completed via batch jcl itself
You have any idea on this.
Of around 3800 jobs
When I submit the rexx script
It floods my spool
When no of jobs in my spool goes beyond 300
Operator calls me for more no of jobs
So I want to purge jobs once it is completed via batch jcl itself
You have any idea on this.
- Robert Sample
- Global Moderator
- Posts: 1900
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: How to purge jobs submitted using rexx
What is the operator's concern -- the number of jobs in the system or the amount of spool output?
Talk to your site support group about using a MSGCLASS that does not retain the output on the spool. If your site has a product that supports batch processing of spool data, you MIGHT be able to do what you want - you would have to check with the product vendor.
For plain z/OS, there really is no way to do what you want.
Talk to your site support group about using a MSGCLASS that does not retain the output on the spool. If your site has a product that supports batch processing of spool data, you MIGHT be able to do what you want - you would have to check with the product vendor.
For plain z/OS, there really is no way to do what you want.
-
- Registered Member
- Posts: 22
- Joined: Thu Jan 30, 2014 9:58 am
Re: How to purge jobs submitted using rexx
Thanks Robert.
We can purge them using REXX though, I think. I am not REXX expert but that's what one of my friend's suggest.
We can purge them using REXX though, I think. I am not REXX expert but that's what one of my friend's suggest.
- Robert Sample
- Global Moderator
- Posts: 1900
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: How to purge jobs submitted using rexx
Get your friend's help to code up the REXX -- I don't use it often enough to provide any assistance.
Re: How to purge jobs submitted using rexx
OK, I'm going to put my sysprog's hat on and ask you the question that I would ask if I were maintaining the system you're running on...
What exactly are you doing that needs a job submitting every five seconds?
The problem with jobs is that you've got absolutely no guarantee as to when they are going to run. If this is something that is timing critical, then you are likely to run into issues as well as annoying other users and the people running the system. From my perspective, and without knowing what's going on, the spooled output sounds like the consequences of a design issue rather than something that needs to be worked around.
What exactly are you doing that needs a job submitting every five seconds?
The problem with jobs is that you've got absolutely no guarantee as to when they are going to run. If this is something that is timing critical, then you are likely to run into issues as well as annoying other users and the people running the system. From my perspective, and without knowing what's going on, the spooled output sounds like the consequences of a design issue rather than something that needs to be worked around.
-
- Registered Member
- Posts: 22
- Joined: Thu Jan 30, 2014 9:58 am
Re: How to purge jobs submitted using rexx
All the question makes sense, though I don not have very accurate answer for them. As I am just made part of the project and have this situation with me.
Just now I am thinking to answer what is being asked to do rather then tweaking the process which definitely requires a second look. Though right now I am thinking if I keep on purging the jobs also, then that might help.
Just now I am thinking to answer what is being asked to do rather then tweaking the process which definitely requires a second look. Though right now I am thinking if I keep on purging the jobs also, then that might help.
-
- Registered Member
- Posts: 22
- Joined: Thu Jan 30, 2014 9:58 am
Re: How to purge jobs submitted using rexx
Thanks for all your help. For bow we have just brought the number of jobs to a lower number per REXX execution.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute