Can JES job classes be numbers as well as letters?



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Can JES job classes be numbers as well as letters?

Postby deucalion0 » Fri Aug 01, 2014 2:56 pm

I cannot access IBM webpages it would seem that the site is having issues the past day or two and I need to clarify something.

I am studying JES and initiators and have just read that jobs assigned with class A will be completed before jobs that are assigned class B, so it would seem the alphabet is used for prioritizing jobs.

I want to know, can I use numbers for job classes and assign these classes to initiators? If so, would jobs assigned the class 1 have priority before any higher number and letter? Also, can the number 0 be used?

Thank you for your assistance in helping me understand!
deucalion0
 
Posts: 58
Joined: Thu Jul 31, 2014 3:47 pm
Has thanked: 32 times
Been thanked: 0 time

Re: Can JES job classes be numbers as well as letters?

Postby Robert Sample » Fri Aug 01, 2014 5:45 pm

I am studying JES and initiators and have just read that jobs assigned with class A will be completed before jobs that are assigned class B, so it would seem the alphabet is used for prioritizing jobs.
If your site uses Work Load Manager, I don't believe that this would apply -- WLM manages jobs and initiators to meet service goals. And if your site does not use WLM, I still don't believe that this would be true since JES supports performance groups to manage job priorities. Can you provide the manual reference where you found this?

However, the answer to your question is that yes, JES allows job classes to be numbers OR letters.

These users thanked the author Robert Sample for the post:
deucalion0 (Sat Aug 02, 2014 5:23 pm)
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: Can JES job classes be numbers as well as letters?

Postby steve-myers » Sat Aug 02, 2014 10:43 am

deucalion0 wrote:I cannot access IBM webpages it would seem that the site is having issues the past day or two and I need to clarify something.

I am studying JES and initiators and have just read that jobs assigned with class A will be completed before jobs that are assigned class B, so it would seem the alphabet is used for prioritizing jobs.

I want to know, can I use numbers for job classes and assign these classes to initiators? If so, would jobs assigned the class 1 have priority before any higher number and letter? Also, can the number 0 be used?

Thank you for your assistance in helping me understand!


Yes, you can have numeric JES2 job classes.

Relative priority is another matter. Work load manager job scheduling throws off everything I'm saying here, but ...

JES2 defines a number of "initiators" that are used to run jobs. The number is specified by each installation. Each initiator can be defined to run jobs in specified job classes; for example A B C D E F. If the initiator is idle, JES2 will select the highest priority class A job to run. If there are none, it will try to run a class B job, and so on. The operator can alter the class list, for example F E D C B A. With this class list, the initiator will select a class F job, then a class E job, and so on. The class list can include numerics, for example 3 2 1 A B C. This initiator will select class 3 jobs, class 2 jobs and so on, in the order the class list is specified.

Yes, you can use class 0.

Most installations have rules about the job classes you can use. These rules seldom make much sense any more, but you do want to follow them.

These users thanked the author steve-myers for the post:
deucalion0 (Sat Aug 02, 2014 5:23 pm)
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: Can JES job classes be numbers as well as letters?

Postby nevilh » Sat Aug 02, 2014 5:19 pm

Job classes can be Alpha, Numeric or a combination thereof (at least from version 2.1) . The name has no in bearing on the priority that is decided by the sysprog.

These users thanked the author nevilh for the post:
deucalion0 (Sat Aug 02, 2014 5:23 pm)
nevilh
 
Posts: 39
Joined: Wed Jun 01, 2011 8:28 pm
Has thanked: 0 time
Been thanked: 3 times

Re: Can JES job classes be numbers as well as letters?

Postby deucalion0 » Sat Aug 02, 2014 5:23 pm

Thank you all for your responses, this has cleared up a lot of confusion with regards to initiators and classes, I appreciate your help!
deucalion0
 
Posts: 58
Joined: Thu Jul 31, 2014 3:47 pm
Has thanked: 32 times
Been thanked: 0 time


Return to JCL