Documentation >
MAC-PAC Reference and Help >
Technical Support >
Key Concepts and Procedures >
Operation Procedures >
Performance Enhancement - Changing the Asynchronous Monitors to Run in a Separate Subsystem
Performance Enhancement - Changing the Asynchronous Monitors to Run in a Separate Subsystem
Changing the MAC-PAC asynchronous monitors to run in their own subsystem is an easy enhancement that can improve your system's performance. Typically, the monitors run in job queue QINTER that is connected to subsystem QINTER. Unfortunately, the user sign-ons also run in QINTER. This can slow performance in your online sessions. Moving the monitors to a separate subsystem will cause your online sessions to run more efficiently.
Changing Monitors
Changing your monitors to run in a new subsystem is an easy process. Once you know the monitor and job queue you wish to use, simply change the monitor's job description to submit its jobs to the new job queue. Change the 6 job descriptions used by the asynchronous monitors to submit jobs to the new job queue.
List of Job Descriptions
Figure 1 shows the 6 job descriptions and the 25 asynchronous monitors that use them. Each of these must be changed in order to have all the MAC-PAC asynchronous monitors running in the new subsystem.
|
|
|
|
BCASYNCJOB
|
BCASYNCMON
|
|
|
ECASYNCJOB
|
MFGCFGMON
|
|
|
JTASYNCJOB
|
JTASYNCMON
|
|
|
GAASYNCJOB
|
GAASYNCMON
|
|
|
POASYNCJOB
|
POASYNCMON
|
|
|
MPASYNCJOB
|
GAIITMON
GASBUMON
MPASYNCMON
MPASYNCMN2
MPASYNCMN3
MPASYNCMN4
MPBOLMON
|
MPCBUMON
MPESOMON MPIIPMON
MPIPPMON
MPPOAMON
MPPOGMON
MPPORMON
|
MPQTEMON MPRMAMON
MPSBUMON
MPSLRMON
MPSOAMON
SAPSTMON
|
Asynchronous Monitors and their Job Descriptions.
Example - Changing Job Description BCASYNCMON
Here is an example that moves the monitors from subsystem QINTER to a new subsystem QMPMON. A new job queue is created in QMPMON also called QMPMON. This is only an example. You should consult your system administrator before deciding specific parameters for your new subsystem and job queue.
1. Sign-on your system as the security officer (QSECOFR).
2. Use the Initiate/Cancel Monitors option from the MAC-PAC System Processing Menu to bring down all the asynchronous monitors.
3. Create a new subsystem on your system. Give the subsystem a name, this example will use QMPMON. Use the following command:
CRTSBSD SBSD(QGPL/QMPMON) POOLS((1 *BASE)) TEXT('MAC-PAC ASYNC MONITOR SUBSYSTEM')
4. Create a new job queue in subsystem QMPMON. Call the new job queue QMPMON as well. Use the following command:
CRTJOBQ JOBQ(QGPL/QMPMON) TEXT('MAC-PAC MONITOR JOB QUEUE')
5. Connect the new job queue to the monitor with the Add Job Queue entry command.
ADDJOBQE SBSD(QGPL/QMPMON) JOBQ(QGPL/QMPMON)
6. Create a subsystem class (This tells the system what run priority to run your monitors).
CRTCLS CLS(QGPL/QMPMON) RUNPTY(30) TEXT (Class for MAC-PAC Monitors)
7. Add Routing Entries to your subsystem. Use the following command:
ADDRTGE SBSD(QGPL/QMPMON) SEQNBR(10) CMPVAL(*ANY) PGM(ACMD) CLS(QGPL/QMPMON)
8. Start the new subsystem with the Start Subsystem command.
STRSBS SBSD(QGPL/QMPMON)
Note: You may want this new subsystem to be automatically started after a system IPL. See your system administrator for procedures.
7. Change the monitor job descriptions to submit jobs to the newly created job queue QMPMON. Remember the job descriptions are typically stored in your MAC-PAC data library. Use the following command:
CHGJOBD JOBD(your data library/nnASYNCJOB) JOBQ(QGPL/QMPMON)
With nn = BC, EC, JT, GA, PO, and MP. Use this command to change all 6 job descriptions.
8. Return to the MAC-PAC System Processing Menu and start the monitors. They will now run in job queue QMPMON.