Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to change the JOB class, when the job is running inspool
Goto page 1, 2  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1013
Location: India

PostPosted: Tue Aug 12, 2008 3:54 pm    Post subject: How to change the JOB class, when the job is running inspool
Reply with quote

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
View user's profile Send private message

gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Tue Aug 12, 2008 3:59 pm    Post subject:
Reply with quote

Hi,

cannot be done , why do you want to change the class ?


Gerry
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Tue Aug 12, 2008 4:01 pm    Post subject: Reply to: How to change the JOB class, when the job is runni
Reply with quote

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
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1013
Location: India

PostPosted: Tue Aug 12, 2008 4:13 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Aug 12, 2008 4:21 pm    Post subject:
Reply with quote

Hi,

Not sure, if I'm again stuck up in Local commands... icon_neutral.gif . 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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Aug 12, 2008 4:22 pm    Post subject:
Reply with 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.
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1013
Location: India

PostPosted: Tue Aug 12, 2008 4:40 pm    Post subject:
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Aug 12, 2008 4:45 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Tue Aug 12, 2008 4:47 pm    Post subject: Reply to: How to change the JOB class, when the job is runni
Reply with quote

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
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1013
Location: India

PostPosted: Tue Aug 12, 2008 4:51 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Aug 12, 2008 4:59 pm    Post subject:
Reply with quote

Hi Aaru,

Yeah, 'H' is for Held output queue, I was using other Spooling software (JHS- Job History Subsystem) when I posted it.. icon_redface.gif

PS.:Request - Can any one of the Moderators please edit my previous post, where I used Histroy...

OK, changed
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Tue Aug 12, 2008 5:13 pm    Post subject:
Reply with quote

Hi,
we usually change SrvClass (Service class name) to a higher performace class.


Gerrt
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1013
Location: India

PostPosted: Tue Aug 12, 2008 5:28 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7905
Location: Bellevue, IA

PostPosted: Tue Aug 12, 2008 5:35 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Aug 12, 2008 5:45 pm    Post subject:
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Aug 12, 2008 5:49 pm    Post subject:
Reply with quote

Quote:
PS.:Request - Can any one of the Moderators please edit my previous post, where I used Histroy...


Anuj
Your error is history icon_lol.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Aug 12, 2008 5:53 pm    Post subject:
Reply with quote

expat wrote:
Your error is history icon_lol.gif
When such a Mentor is with me I'll leave many more errors away as history..

Thanks for the correction.. icon_smile.gif
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1013
Location: India

PostPosted: Tue Aug 12, 2008 5:55 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7905
Location: Bellevue, IA

PostPosted: Tue Aug 12, 2008 5:55 pm    Post subject:
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Aug 12, 2008 5:55 pm    Post subject:
Reply with quote

[quote="Anuj D."]
expat wrote:
such a Mentor is with me I'll leave many more errors away as history..

icon_redface.gif Stop it, you are making me blush icon_lol.gif
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
Goto page 1, 2  Next
Page 1 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Problem in Running Query via JCL vickey_dw DB2 3 Tue Oct 18, 2016 11:11 pm
No new posts Change date (DD/MM/YY) in 2nd record ... uday kiran DFSORT/ICETOOL 12 Wed Sep 07, 2016 10:57 pm
No new posts XFACILIT class setting for Fault Anal... egrove IBM Tools 2 Thu Aug 11, 2016 8:02 pm
No new posts How to change dataset attributes of m... ignich7 JCL & VSAM 3 Thu Jul 21, 2016 9:17 pm
No new posts Syntax for running batch history repo... polymathtarun CA Products 1 Tue Jun 21, 2016 1:51 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us