IBM i > TIPS & TECHNIQUES > SYSTEMS MANAGEMENT

Why Consider Multiple Subsystems?



Maximum active jobs (MAXACT) parameter on the Add Job Queue Entry (ADDJOBQE) command—This is the maximum number of jobs that can be active concurrently from the job queue. (Note: The default for this parameter is 1, so be sure to configure this value appropriately.)

 

The MAXACT parameters on the routing and workstation entries are available but add complexity and may make it easier to unintentionally prevent users from accessing the system, thus it's recommended to not use these parameters.

You can also have a custom sign-on display file for each subsystem. The additional parameter SGNDSPF(*QDSIGNON) specifies that the subsystem use the system-supplied sign-on display file, QDSIGNON. You can create your own sign-on display file and specify the name here when the subsystem is created. To do so, see the Work Management book.

5. Create a job queue for the subsystem, using the same name as the subsystem name and add a job queue entry to the subsystem description. This step is required if you must use the Transfer Job (TFRJOB) command to transfer jobs into your custom subsystems.

However, by adding a job queue entry to an interactive subsystem, you've also provided the ability to submit batch work to your interactive subsystem. If you need to ensure that no batch work can run in your interactive subsystem, don't create the job queue or add the job queue entry. Without the job queue entry, you'll be unable to use TFRJOB, so you must define workstation entries (discussed later in this article) to get users to the correct subsystem:

CRTJOBQ JOBQ(SBSLIB/INTER1)
ADDJOBQE SBSD(SBSLIB/INTER1) JOBQ(SBSLIB/INTER1)
MAXACT(*NOMAX)

6. Add a routing entry to the subsystem. Add the following routing entry (Note: If you examine the routing entries shipped on the system for QINTER, you'll notice some additional routing entries are shipped. If you need those functions, add those routing entries to your customized subsystem descriptions as well):

ADDRTGE SBSD(SBSLIB/INTER1) SEQNBR(9999) CMPVAL(*ANY) PGM(QSYS/QCMD) POOLID(2)

The ADDRTGE command specifies which pool identifier (POOLID) to use; the default on the command is 1. In this example, we'll specify 2, which is the *INTERACT pool. If your subsystem description is set up with dedicated pools, be sure to specify the appropriate pool identifier on the routing entry.

Also, if your class name is different from your subsystem description name, you must specify the class on the ADDRTGE command.

 

Dawn May is an IBM i consultant. She owns Dawn May Consulting, LLC in the Greater Boston area.


comments powered by Disqus

Advertisement

Advertisement

2019 Solutions Edition

A Comprehensive Online Buyer's Guide to Solutions, Services and Education.

IBM i > TIPS & TECHNIQUES > SYSTEMS MANAGEMENT

Analyzing Disk Watcher Data

Knowing how to collect and analyze your performance data can help improve your system’s performance

An Introduction to Job Watcher Green-Screen Commands

Although Job Watcher now has a GUI, green screeners won’t be left out with four new green-screen commands.

IBM Systems Magazine Subscribe Box Read Now Link Subscribe Now Link iPad App Google Play Store
IBMi News Sign Up Today! Past News Letters