Example: Specifying input and output areas

Use the IAREA keyword of the RESTRUCTURE command to specify one or more input areas, and the OAREA keyword of the RESTRUCTURE command to specify one or more output areas.

The IAREA and the OAREA keywords support the following values:
ALL
All areas of the DEDB. This is the default value.
areaname
A single area. Specify an area with its name. The name must be 1- to 8- characters.
areaname1-areaname2
Multiple areas. Specify the range of areas by area names.
area_number1-area_number2
Multiple areas. Specify the range of areas by area numbers.
For example, to restructure areas from area#5 to area#10, and area#15 to area#20, specify as follows:

RESTRUCTURE 
  IAREA=(5-10,15-20),
  OAREA=(5-10,15-20)
A structure change that affects the entire DEDB, for example, changing the randomizing module or the segment edit/compression routine, both IAREA and OAREA keywords must specify ALL:
RESTRUCTURE 
  IAREA=ALL,
  OAREA=ALL

The default values for the IAREA and OAREA keywords are ALL. These two keywords cannot be specified in the site default table.

If a segment record is randomized to an area that is not specified by the OAREA keyword, the utility discards the segment and issues an error message in the unload phase or the apply phase to alert this condition.

When adding new areas, you must provide allocation information for the new areas with the following keywords:
  • DDNPREFIX_NEW keyword
  • DSNMASK_NEW keyword
  • The data set specified for the ATTRIBUTE keyword (ALLOCATE subcommand) must contain a member with the name of the new area.