gtpo1mbdOperations

ZNNCB REORG-Reorganize NCB Directory Records

Use this command to change the number of NCB directory records in the TPF system. For example, you can increase the number of NCB directory records when the current NCB directory records are becoming full.

Reorganizing the NCB directory records is a 2-step process:

  1. Enter ZNNCB REORG START to copy the current NCB directory records to the staged NCB directory records. This step redistributes the current NCB directory record entries among the different number of staged NCB directory records.
  2. Enter ZNNCB REORG SWITCH from any processor in the loosely coupled TPF system to switch the current and the staged NCB directory records. This step makes the current NCB directory records the staged NCB directory records and the staged NCB directory records the current NCB directory records.

Requirements and Restrictions

Format




ABORT
cancels the NCB reorganization function.
Note:
You can specify this parameter only when you enter the ZNNCB REORG command from the processor where the NCB reorganization function was started. Specify the BP parameter to cancel the NCB reorganization function from a processor other than the one where it was started.

BP
allows you to cancel the NCB reorganization function from a processor other than the one where it was started.

STart
starts the NCB reorganization function by copying the current NCB directory records to the staged NCB directory records.

SWitch
completes the NCB reorganization function by switching the current and staged NCB directory records.
Note:
The TPF system prompts you to switch the NCB directory records when the copy process has been completed.

Additional Information

Examples

The NCB directory records are reorganized in the following example. First, the START parameter is specified to copy the current NCB directory record entries to the staged NCB directory records. When the copy step was completed, the TPF system displayed a message to switch the NCB directory records by specifying the SWITCH parameter.

+--------------------------------------------------------------------------------+
|User:   ZNNCB REORG START                                                       |
|                                                                                |
|System: NNCB0070I 16.38.33 NCBN5   DATABASE INITIALIZATION STARTED              |
|        NNCB0071I 16.38.40 NCBN5   DATABASE INITIALIZATION COMPLETED            |
|        NNCB0093I 16.38.40 NCB REORG DATABASE COPY TASK BEGUN                   |
|        NNCB0097I 16.38.46 NCB REORG DATABASE COPY COMPLETED                    |
|                           ENTER ZNNCB REORG SWITCH                             |
|                                                                                |
|User:   ZNNCB REORG SWITCH                                                      |
|                                                                                |
|System: NNCB0085I 16.39.23 NCB REORG DATABASE SWITCH INITIATED                  |
|        NNCB0070I 16.39.23 NCBN4   DATABASE INITIALIZATION STARTED              |
|        NNCB0071I 16.39.25 NCBN4   DATABASE INITIALIZATION COMPLETED            |
|        NNCB0086I 16.39.25 NCB REORG DATABASE SWITCH COMPLETED                  |
+--------------------------------------------------------------------------------+

In the following example, the ZNNCB REORG command was entered to cancel the NCB reorganization function from a processor other than the one where the it was started. Notice that, in this example, you must specify the BP parameter.

+--------------------------------------------------------------------------------+
|User:   ZNNCB REORG ABORT                                                       |
|                                                                                |
|System: NNCB0083W 16.42.49 MUST SPECIFY BP PARAMETER TO ABORT REORG FROM THIS CP|
|                                                                                |
|User:   ZNNCB REORG ABORT BP                                                    |
|                                                                                |
|System: NNCB0084I 16.42.56 ABORT INITIATED FOR NCB DATABASE REORG               |
|        NNCB0070I 16.42.58 NCBN5   DATABASE INITIALIZATION STARTED              |
|        NNCB0071I 16.43.03 NCBN5   DATABASE INITIALIZATION COMPLETED            |
|        NNCB0098I 16.43.03 NCB REORG ABORTED                                    |
+--------------------------------------------------------------------------------+

Related Information