Q: I am having trouble with two subsystems. I want programmers to use QBATCH and run jobs at run priority 30. I want user batch jobs to go through subsystem QUSERS at priority 50. I set up two job queues and two subsytems, but jobs in both subsystems run at priority 30. How do I get QUSERS to use the new class?
- Karl Lauritzen
Waco, TX
A: Provided you simply used the Create Duplicate Object (CRTDUPOBJ) command from QBATCH to set up your QUSERS subsystem, the following commands should do the trick:
CRTCLS CLS(QGPL/QUSERS) +
RUNPTY(50) +
PURGE(*NO) +
DFTWAIT(120) +
TEXT('User Batch Jobs')
CHGRTGE SBSD(QUSERS) +
SEQNBR(9999) +
CLS(QGPL/QUSERS)
The first creates a new class with priority 50 and typical batch attributes. Set your PURGE and DFTWAIT parameters however you wish.
The second changes the default routing entry (normally at sequence number 9999) for subsystem QUSERS to use that class. Use this code only if you already have a routing entry 9999 with compare value *ANY. (I'm pretty sure this is how QBATCH is shipped). Use DSPSBSD QUSERS to make sure. You should see a line like this:
9999 QCMD QSYS *ANY
- Joe Pluta
NexGen, Inc.
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.
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:
LATEST COMMENTS
MC Press Online