SEPARATE WORK FILES field (WFDBSEP subsystem parameter)

The WFDBSEP subsystem parameter specifies whether Db2 unconditionally separates table spaces in the work file database based on the allocation attributes of the table spaces.

Acceptable values: NO, YES
Default: NO
Update: option 18 on panel DSNTIPB
DSNZPxxx: DSN6SPRM.WFDBSEP
Start of change
NO
Db2 attempts to direct work file operations based on the preferred table space allocation attributes for the type of work file operation, as described in the following table. Start of changeFL 508 A partition-by-growth (PBG) table space that was created with FOR SORT is never used for DGTT processing.End of change
Work file operation Preferred table space attributes
DGTT work
  1. Start of changeFL 508 PBG table space created with or without FOR DGTTEnd of change
  2. Segmented (non-UTS) table space with a non-zero SECQTY value
  3. Db2-managed segmented (non-UTS) table space with SECQTY 0
  4. User-managed table space with any SECQTY value
Sort work
  1. Optimal least-used table space with any of the following attributes:
    • Start of changeFL 508 PBG table space created with FOR SORTEnd of change
    • Segmented (non-UTS) table space with SECQTY 0
    • User-managed table space with any SECQTY value
  2. If no table spaces with preferred attributes for sort operations are available, Db2 reverts to using a table space that is preferred for DGTT operations.
YES

Db2 attempts to direct work file operations only to table spaces with the preferred allocation attributes in the following table. When YES is specified and no table space is available with the preferred attributes, Db2 issues an error message, a negative SQLCODE, or both.

Work file operation Preferred table space attributes
DGTT work
  1. Start of changeFL 508 PBG table space created with or without FOR DGTTEnd of change
  2. Segmented (non-UTS) table space with a non-zero SECQTY value
Sort work
  1. Optimal least-used table space with any of the following attributes:

    • PBG table space that was created with FOR SORT
    • Segmented (non-UTS) table space with SECQTY 0
    • User-managed table space with any SECQTY value
End of change