TechTalk: Job Priority in Submitted Jobs

Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times

Job Priority in Submitted Jobs

From: Sharon Keeping

To: All

I created a new subsystem for a group of jobs the other day. I wanted the jobs to run at a high priority, so I created a job description for the jobs and put the routing data entry at QCMDI. In the routing steps, the QCMDI value used a class I created to run at priority 19. QCMDB used QBATCH (50 priority) and *ANY used the class I created for 19 priority. None of the jobs would run at 19 until I changed the routing step for QCMDB in the subsystem description to use the class I created.

I'm confused because I thought the job description provided the routing data for the jobs, but they were apparently using QCMDB. Where did they get it?

From: Richard Schoen

To: Sharon Keeping

I am making an assumption that you are submitting jobs to this new subsystem using the SBMJOB command. There is a routing data parameter on the SBMJOB command that defaults to QCMDB unless you specify otherwise. If you specify *JOBD on the routing data parameter, your job will use the routing data from the specified job description on the SBMJOB command.

You could also just key QCMDI in the routing data parameter on the SBMJOB command. This would give you basically the same effect as tying the routing data to the job description, except you don't necessarily have to specify a specific job description. Your jobs should then use the correct subsystem routing entry and class. Hope this helps.

From: Sharon Keeping

To: Richard Schoen

Ah-hah! I thought I had looked everywhere for the answer to that question, but you are right. There it sits in the SBMJOB command in the RTGDTA parameter: QCMDB. Thanks for your help.

BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$

Book Reviews

Resource Center

  •  

  • LANSA Business users want new applications now. Market and regulatory pressures require faster application updates and delivery into production. Your IBM i developers may be approaching retirement, and you see no sure way to fill their positions with experienced developers. In addition, you may be caught between maintaining your existing applications and the uncertainty of moving to something new.

  • The MC Resource Centers bring you the widest selection of white papers, trial software, and on-demand webcasts for you to choose from. >> Review the list of White Papers, Trial Software or On-Demand Webcast at the MC Press Resource Center. >> Add the items to yru Cart and complet he checkout process and submit

  • SB Profound WC 5536Join us for this hour-long webcast that will explore:

  • Fortra IT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators with intimate knowledge of the operating system and the applications that run on it is small. This begs the question: How will you manage the platform that supports such a big part of your business? This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn: