View previous topic :: View next topic
|
Author |
Message |
sushanth bobby
Senior Member
Joined: 29 Jul 2008 Posts: 1020 Location: India
|
|
|
|
I submitted a unload job with the class L, the thing is i should have submitted it in class H. Currently the job happens to be running in spool. How to change the job class from L to H without canceling the JOB and restarting it from the beginning. |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
cannot be done , why do you want to change the class ?
Gerry |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
sushanth,
Quote: |
How to change the job class from L to H without canceling the JOB |
Once the job gets submitted, it runs in that CLASS and hence cannot be changed. |
|
Back to top |
|
|
sushanth bobby
Senior Member
Joined: 29 Jul 2008 Posts: 1020 Location: India
|
|
|
|
Oh! I asked this question because.
I have read it in SDSF Overview PDF document. But, that document did'nt give any command or anything regarding how to do it.
Following points, I copy & pasted from SDSF Overview.
Manage work productively With SDSF commands and action characters, you can:Cancel, hold or release jobs
Find out if jobs are waiting to be processed
Filter the jobs to show just the jobs that interest you
View output before it is printed
Change a job's priority, class, or destination
Edit and resubmit the JCL without leaving SDSF
I am asking this because the job which, i have submitted unloads from 197 tables. Which is at low class priority, i want to change it high. That's it.
Thanks,
Sushanth |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Hi,
Not sure, if I'm again stuck up in Local commands... . At my shop, when the JOB is completed & 'resting' in S.ST & I want to move it to some other class, I put "H" (Hold ?) on command prompt & press enter. And now, I can change the "DEST" (destination) parameter along with "C" (class) parameter. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
You could always change the DP to a higher value if the job is running, but you would need to find out what to change it to from your sysprogs or preformance and capacity people. |
|
Back to top |
|
|
sushanth bobby
Senior Member
Joined: 29 Jul 2008 Posts: 1020 Location: India
|
|
|
|
I am not understand the terms,
Quote: |
You could always change the DP to a higher value if the job is running, but you would need to find out what to change it to from your sysprogs or preformance and capacity people. |
How can i do it ? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Dispatch Priority - a site specific setting that enables jobs running with a certain DP to get priority for access to resources over other jobs.
Usually a site will have one set up for 'Hot Batch' |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Anuj,
Quote: |
I want to move it to some other class, I put "H" (history) on command prompt & press enter |
I guess "H" is for "HOLD" and not "HISTORY" . Am I wrong? |
|
Back to top |
|
|
sushanth bobby
Senior Member
Joined: 29 Jul 2008 Posts: 1020 Location: India
|
|
|
|
In my SDSF,
C - Cancel
H - Hold
P - Purge
S - Select & View
? - You can see the SYSOUT & message & S to selectively View. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Hi Aaru,
Yeah, 'H' is for Held output queue, I was using other Spooling software (JHS- Job History Subsystem) when I posted it..
PS.:Request - Can any one of the Moderators please edit my previous post, where I used Histroy...
OK, changed |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
we usually change SrvClass (Service class name) to a higher performace class.
Gerrt |
|
Back to top |
|
|
sushanth bobby
Senior Member
Joined: 29 Jul 2008 Posts: 1020 Location: India
|
|
|
|
When i submitted my job, this is my jobcard
//CLOUDDB6 JOB (T,'UNFASTLOAD'),'CLOUDATAC',CLASS=L,MSGCLASS=X,
// REGION=0M,NOTIFY=&SYSUID
Actually i should have submitted with
//CLOUDDB6 JOB (T,'UNFASTLOAD'),'CLOUDATAC',CLASS=H,MSGCLASS=X,
// REGION=0M,NOTIFY=&SYSUID
Since the job is in SPOOL running.
I read in SDSF overview that CLASS can be changed. I just wanted to know how to do it.
Quote: |
change SrvClass (Service class name) to a higher performace class |
I am assuming SERVICE CLASS is different from the class i have specified in the JCL. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
Since the job is in SPOOL running.
I read in SDSF overview that CLASS can be changed. I just wanted to know how to do it. |
And you're making an erroneous assumption. You're assuming the CLASS you can change is the job class the job runs in; it's not. The CLASS you can change is the sysout class (MSGCLASS= parameter on the JOB card). You cannot change the CLASS= parameter of a batch job once it's running. SERVICE CLASS is the Workload Manager class used for your job; this can be changed dynamically and affects the resources your job uses.
To do what you want, cancel the job in CLASS=L and resubmit with CLASS=H in the JOB card. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Hi,
Robert Sample wrote: |
To do what you want, cancel the job in CLASS=L and resubmit with CLASS=H in the JOB card. |
Robert does that mean that using "H (Hold, posted in my previous post)" is site specific..? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Quote: |
PS.:Request - Can any one of the Moderators please edit my previous post, where I used Histroy... |
Anuj
Your error is history |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
expat wrote: |
Your error is history |
When such a Mentor is with me I'll leave many more errors away as history..
Thanks for the correction.. |
|
Back to top |
|
|
sushanth bobby
Senior Member
Joined: 29 Jul 2008 Posts: 1020 Location: India
|
|
|
|
Thank You Robert for clearing the CLASS out. So you are saying that i can the MSGCLASS. Just for informational purpose can you tell how to do that.
&
Quote: |
SERVICE CLASS is the Workload Manager class used for your job; this can be changed dynamically and affects the resources your job uses. |
I am thinkin so, Workload Manager will be having the list of all classes and how much of CPU time they should consume. So if, change is made in the Workload Manager Class for this CLASS=L to take more CPU time and get the job done quickly. Afterwards, I hope the change made in the Workload Manager will also affect all the jobs that are running in CLASS=L(if the change is made).
Robert my thinkin is correct or not. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
Robert does that mean that using "H (Hold, posted in my previous post)" is site specific..? |
No, but it's application-specific. For example, we use (E)JES at our shop and the H line command on a job says to put it into Operator Hold, which means an operator must explicitly release the job before it will run. Different application, different meaning. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
[quote="Anuj D."]
expat wrote: |
such a Mentor is with me I'll leave many more errors away as history.. |
Stop it, you are making me blush |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Robert Sample wrote: |
Different application, different meaning. |
Yeah agreed and thread specifically talks about SDSF since start, unless I'm missing soething, so "H" could have worked...not sure if TS has tried it.. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
sushanth bobby:
Quote: |
So you are saying that i can the MSGCLASS. Just for informational purpose can you tell how to do that. |
Actually, I can't tell you because the only spool management package I've got access to is (E)JES and the commands are different for each package.
Also, there's a manual on Workload Manager in the MVS bookshelf. It tells a lot about how WLM works. Basically, WLM doesn't care about individual job classes; it works with service classes. Multiple job classes can be rolled into a single service class. WLM is concerned with started tasks, CICS regions, batch jobs, TSO users, OMVS processes, and so forth -- in other words it manages the ENTIRE workload of the system. WLM has assigned goals for each service class and it attempts to meet these goals (for example, a service class goal might be to run for 25% of the CPU while it's running; or perhaps complete 90% of TSO commands in 2 minutes) by adjusting workload priorities. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
expat wrote: |
Stop it, you are making me blush |
Nah..I'll not, You and many more are there in this Forum..who I respect a lot.
I remember when once I asked Frank, "how do you know this much about ICETOOL & DFSORT"..
his answer was.."I've invented the ICETOOL"..
I remember.. that whole week I was not able to sleep because of excess excitement inside my blood... I still feel that..
Once again, Thanks for being here.. |
|
Back to top |
|
|
sushanth bobby
Senior Member
Joined: 29 Jul 2008 Posts: 1020 Location: India
|
|
|
|
Thank You Very Much Robert. |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
sushanth bobby,
this thread went in many directions. are your questions answered?
If permitted by SDSF security, for submitted jobs you can:
1. change JOBCLASS only before execution begins
2. change MSGCLASS (sysout class of output on spool) only after execution completes
3. change WLM service class during execution to adjust performance |
|
Back to top |
|
|
|