HP 3000 Manuals

Changing the Maximum Block Length of a Data Set [ DBChange Plus User's Guide ] MPE/iX 5.0 Documentation


DBChange Plus User's Guide

Changing the Maximum Block Length of a Data Set 

To change the maximum physical block length of a data set, use the CHANGE
BLOCKMAX command.  The block length is in words.  In this section, the
maximum block length of all the data sets in the ORDERS database is
changed.  Before changing the maximum block length, the REVIEW BLOCKS
command output looks like this:

                             Fld Pth Entr Med             Blk  Blk  Blk
       Data Set Name    Type Cnt Cnt Len  Rec  Capacity   Fac  Len  Max
       -----------------------------------------------------------------

       DATE-MASTER       A   1    3  3    26   365        19   496  496<---- * 
       BINNUM-MASTER     A   1    1  1    12   220        12   145  145
       CUSTOMER          M   8    1  41   52   201        10   521  640
       PRODUCT           M   2    2  14   31   300        16   498  498
       SUP-MASTER        M   5    1  31   42   201        12   505  505
       INVENTORY         D   7    4  24   40   510        12   481  481
       SALES             D   8    4  21   37   500        10   371  371

     *maximum block length for all data sets to be changed 

In the example below, the maximum block length for all the data sets is
changed by specifying the first and last data sets in the range.
DATE-MASTER is the first data set in the range; SALES is the last data
set in the range.  The maximum block length changes for all the data sets
between DATE-MASTER and SALES in the data set list.  The new maximum
block length for all the data sets is 1024.  The DBCPLUS program displays
a message confirming that the data set block length has been changed.

     >change blockmax date-master sales 1024 
      Change of maximum blocksize accepted.

     >


NOTE The range specified must reflect the current order of the data sets; that is, if the REORDER SET command was used prior to the CHANGE BLOCKMAX command, the range of the data sets must reflect the new order. To verify the data set order, use the REVIEW BLOCKS command.
Refer to "CHANGE BLOCKMAX" in chapter 10, "DBChange Plus Commands," for a detailed description of the command syntax and parameters. You can change the maximum block length for a single data set by using only one data set name in the command syntax. If you want to change the maximum block length for multiple data sets, but don't want to specify a range, you must issue the CHANGE BLOCKMAX command for each data set. If you want to verify that the maximum block length is changed, use the REVIEW BLOCKS command as shown below. The @ parameter is used to display all the data sets in the ORDERS database. You can see that all the data sets now have a block length of 1024. >review blocks @ REVIEW BLOCKS: Fld Pth Entr Med Blk Blk Blk Data Set Name Type Cnt Cnt Len Rec Capacity Fac Len Max ----------------------------------------------------------------- DATE-MASTER A 1 3 3 26 365 19 496 1024 <---- * BINNUM-MASTER A 1 1 1 12 220 12 145 1024 CUSTOMER M 8 1 41 52 201 10 521 1024 PRODUCT M 2 2 14 31 300 16 498 1024 SUP-MASTER M 5 1 31 42 201 12 505 1024 INVENTORY D 7 4 24 40 510 12 481 1024 SALES D 8 4 21 37 500 10 371 1024 *maximum block length for all data sets changed


MPE/iX 5.0 Documentation