Troubleshooting
Problem
This document shows you a quick and simple way to assign a shared pool to a subsystem.
Resolving The Problem
To assign a shared pool to a subsystem, it is recommended that you display a subsystem description to review the pool definitions and routing entries, which will be needed in later steps. From the DSPSBSD menu, select Option 2 to display the pool definitions and Option 7 to display the routing entry. In all IBM-supplied subsystem descriptions, pool id 1 is assigned to *BASE (system pool 2) . Next, write down the subsystem pool ID that has already been used and the routing entry sequence number for later steps.
Perform the following steps:
Perform the following steps:
| 1 | On the operating system command line, type the following: DSPSBSD SBSD(QXXXXX) Press the Enter key, and select Option 2 and Option 7. |
| 2 | End all of the jobs that are running in the subsystem and end the subsystem before making the change: ENDSBS SBS(QXXXXX) OPTION(*IMMED) Press the Enter key. |
| 3 | On the operating system command line, type the following: CHGSBSD SBSD(QXXXXX) POOLS((2 *SHRPOOL3)) if pool ID 2 and *SHRPOOL3 are available. You should assign a new pool ID in the subsystem description to point to a shared pool out of 60 predefined shared pools (*SHARPOOL1 - *SHRPOOL60), and leave pool ID 1 *BASE as default for the subsystem monitor. |
| 4 | On the operating system command line, type the following: CHGRTGE SBSD(QXXXXX) SEQNBR(9999) POOLID(2) In this example, we are changing the routing entry sequence number 9999 to point to a pool ID as shown in Step 3. If there are more routing entries, repeat Step 4 until all of the routing entries have been changed. If you decide to have only a certain set of jobs that use a particular routing entry to run in a different pool, then change only that routing entry. Note: If the subsystem has a prestarted job running in it and the user wants to have PJ to run in its own shared pool, CHGPJE should be used to point to subsystem pool id 2. For instance, if a user wants to change PJ QZDASOINIT job to run in *SHRPOOL3, which is assigned to subsystem pool id 2, refer to the example below: CHGPJE SBSD(QXXXXX) PGM(QZDASOINIT) POOLID(2) |
| 5 | WRKSHRPOOL In this case, *SHRPOOL3 has been assigned to subsystem pool id 2. However, there is no main storage (memory) allocated to *SHRPOOL3 yet. To allocate main storage to *SHRPOOL3, assign an amount of main storage in MB under the column Defined Size from WRKSHRPOOL. |
| 6 | STRSBS SBSD(QXXXXX) Once the subsystem is started, the defined main storage size will be allocated to the subsystem if there is enough main storage in the system pool 2 (*BASE). If there is not enough main storage in system pool 2, a partial amount of the main storage will be assigned to it at the time when the subsystem is starting. The user should see a new system pool created when issuing WRKSYSSTS after the subsystem is started. |
[{"Type":"MASTER","Line of Business":{"code":"LOB68","label":"Power HW"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m3p000000PCOLAA4","label":"Performance-\u003EMemory"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions"}]
Historical Number
483281796
Was this topic helpful?
Document Information
Modified date:
23 October 2024
UID
nas8N1013757