Specifying input and output areas for Unloading and Reloading a DEDB

The DBD keyword identifies the name of the DEDB (DBD name) to be unloaded.

Specifying areas to be read from unload input

The IAREA keyword identifies the names of the areas to be read from the input unload files. You can specify one or more area names. If you omit the IAREA keyword, all of the areas that are defined in the DEDB are read.

Multiple areas can be specified on the IAREA keyword by using any combination of area names, area numbers, or a area ranges. The following parameters are available for the IAREA keyword:

  • IAREA=ALL (default) or IAREA=* specifies all areas of the DEDB.

  • IAREA=areaname specifies one or more areas by using the one-character to eight-character area name for each area specified. Multiple area names must be enclosed in parentheses and separated by commas.

  • IAREA=areanumber specifies one or more areas by using the one-character to five-character area number for each area specified. Multiple area numbers must be enclosed in parentheses and separated by commas.

  • IAREA=(RANGE=(startarea,endarea)) specifies a consecutive range of areas using either areaname or areanumber parameters. The area associated with startarea must be less than the area number associated with endarea.

An asterisk (*) can be used to specify all areas of the DEDB. When the * character is used with the RANGE keyword, it can be used to specify the beginning or ending range for specific areas of the DEDB.

To reload an entire DEDB, use a command set like the example shown in the following example:

Sample control statement for reloading all areas from the input unload files

RELOAD DBD=
dbdname,IAREA=ALL,OAREA=ALL

To reload specific areas, use a command set like the example shown in the following example:

Sample control statement for reloading specific areas from the input unload files

RELOAD DBD=
dbdname,IAREA=(AREANAM1,AREANAM3,RANGE=(5,8)),
  OAREA=(AREANAM1,AREANAM3,RANGE=(5,8))

This control statement uses a combination of area names and area numbers to request that the specified areas are to be read from the input unload files. The areas named AREANAM1 and AREANAM3 will be read. Also, all consecutive areas from area number 5 to area number 8 (area5, area6, area7 and area8) will be read from the input unload files.

Specifying areas to be reloaded

The OAREA keyword identifies the names of the areas to be reloaded. You can specify one or more area names. If you omit the OAREA keyword, the RELOAD command will attempt to process all areas that are defined in the DBD. Multiple areas can be specified on the OAREA keyword by using any combination of area names, area numbers, or a area ranges.

The following parameters are available for the OAREA keyword:

  • OAREA=ALL (default) or OAREA=* specifies all areas of the DEDB.

  • OAREA=areaname specifies one or more areas by using the one-character to eight-character area name for each area specified. Multiple area names must be enclosed in parentheses and separated by commas.

  • OAREA=areanumber specifies one or more areas by using the one-character to five-character area number for each area specified. Multiple area numbers must be enclosed in parentheses and separated by commas.

  • OAREA=(RANGE=(startarea,endarea)) specifies a consecutive range of areas using either areaname or areanumber parameters. The area associated with startarea must be less than the area number associated with endarea.

An asterisk (*) can be used to specify all areas of the DEDB. When the * character is used with the RANGE keyword, it can be used to specify the beginning or ending range for specific areas of the DEDB.

Values for the OAREA keyword function in the same manner as for the IAREA keyword. See the examples shown for the IAREA keyword in Sample control statement for reloading all areas from the input unload files and Sample control statement for reloading specific areas from the input unload files.



This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Comments