Example for Changing the Set-Subset Physical Options

For this example, the original DASDL description looks as follows:

K COMPACT DATA SET
 (
  A ALPHA(100) SIZE VARYING;
  N NUMBER(2);
  R REAL OCCURS 25 TIMES DEPENDING ON N;
 )
XTENDED = TRUE;
S SET OF K KEY IS N,
  AREAS = 20,
  AREASIZE = 10 TABLES,
  TABLESIZE = 200,
  CHECKSUM = TRUE,
SECTION = ( N = 50;  N = 100)

To update the DASDL description with new set-subset physical options, perform the following steps:

  1. Alter the DASDL statements to the following. The asterisks (*) indicate changed lines.

    *   UPDATE;
        K COMPACT DATA SET
         (
          A ALPHA(100) SIZE VARYING;
          N NUMBER(2);
          R REAL OCCURS 25 TIMES DEPENDING ON N;
         );
        S SET OF K KEY IS N,
    *     AREAS = 30,
    *     AREASIZE = 15 TABLES,
    *     TABLESIZE = 400,
    *     CHECKSUM = FALSE;
  2. Compile the DASDL description.

  3. Generate and run the Reorganization program.