Job priority is set based on the class that a job uses which is chosen from
the subsystem description based on the routing data.

For example, the QDFTJOBD jobd lists QCMDI as its routing data and
QGPL/QBATCH jobq as its jobq.
The QBATCH jobq is associated by default with the QBATCH subsystem.
When the QBATCH subsystem pulls the submitted job from its jobq, it checks
the routing data against one of its routing entries.

The QBATCH subsystem has these routing entries:

Seq Nbr    Program       Library       Compare Value
   15      QCMD          QSYS          'QIGC'
  300      QCMD          QSYS          'QS36EVOKE'
  700      QCL           QSYS          'QCMD38'
 9999      QCMD          QSYS          *ANY

So QCMDI will fall into the *ANY entry.  That entry uses the QSYS/QBATCH
class.

Routing entry sequence number . . . . . . . :   9999
Program . . . . . . . . . . . . . . . . . . :   QCMD
  Library . . . . . . . . . . . . . . . . . :     QSYS
Class . . . . . . . . . . . . . . . . . . . :   QBATCH
  Library . . . . . . . . . . . . . . . . . :     QSYS

And the QBATCH class sets the run priorty to 50, along with other run
attributes.

Class . . . . . . . . . . . . . . . . . . . . . . :   QBATCH
  Library . . . . . . . . . . . . . . . . . . . . :     QSYS
Run priority  . . . . . . . . . . . . . . . . . . :   50
Time slice in milliseconds  . . . . . . . . . . . :   5000


So you need to set up your own class to define the run priority and other
job attributes,
add a routing entry that specifies using that class when a job is submitted
with
a certain routing data, define a job description that uses your routing
data,
and then submit jobs using this job description.


----------------------

Scott A. Schollenberger
Director, R&D
TENEX Systems, a division of Harris Computer Systems
2011 Renaissance Blvd., Suite 100
King of Prussia, PA  19406
Phone: 610-239-9988  Ext. 305
Fax: 610-239-9995
E-mail: saschollenberger@xxxxxxxxxxxx
Web: www.tenexsys.com

IBM Certified Specialist - eServer i5 iSeries Technical Solutions
Implementer V5R3

CONFIDENTIALITY NOTICE:  This email message, including any attachments, is
for the sole use of the intended recipient(s) and contains confidential and
privileged information.  Any unauthorized review, use, disclosure or
distribution is prohibited.  If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.