Guidelines for reusing work areas

Use the following guidelines when defining whether to reuse work areas. The Work Area card setting depends upon the map setting for Workspace Destination, Page Size and Page Count settings.

  • Workspace Destination setting. If the map setting for Destination is File, the input card's work area can be reused. If the map setting for Destination is Memory, the input card's work area can be reused only when the map is initiated using the RUN function. It cannot be reused from an API.
  • Workspace Page Size and Page Count settings. When reusing work files, the paging configuration (page size and number of pages) for the first execution and subsequent executions of the map must be the same.

    For example, if the first execution (when the work files are created) uses a paging configuration of eight pages of 64K each, the subsequent executions (where the work files are reused) must use the same paging settings, in this case eight pages of 64K each.

  • For One Map Only. The Workspace card setting applies to a given map only. For example, it does not apply to two different maps that using the same input.
  • Fetch As = Integral. When a map is executed and the input card Fetch As = Integral, the work area is automatically reused for each burst. If Work Area = Reuse, that work area is saved on completion of the map execution.
  • Fetch As = Burst. When the input card has a Fetch As of Burst, a new work area is created for each burst. If Work Area = Reuse, the last work area is saved on completion of the map execution.