Creating and changing data set templates

Use the Create Data Set Template, Create Like Data Set Template, or Data Set Template Properties windows to build and manipulate data set templates. Data set templates are objects that define a data set naming convention, DF/SMS parameters, and media parameters to be applied to newly created data sets. Utilities use data set templates to dynamically allocate the data sets they require.

Using a data set template for naming data sets helps you keep large numbers of data sets organized by generating data set names based on custom parameters defined in the template. When using a utility you can specify the name of a data set template instead of creating the name for a new data set yourself thus, making searching and identifying data sets a simpler task.

Authorities and privileges

To create or update a data set template or to update data set template properties:

  1. Open the Create Data Set Template window, Create Like Data Set Template window,or the Data Set Properties window.

  2. If a name is not already present in the Template name text field, type in a unique utility procedure name.

  3. Specify the naming convention of the data set template in the Data Set Name text field or click the push button on the right of the field.
    1. The push button opens the Change Data Set Name Template window to assist you with building a naming convention.

  4. Specify the unit type in the Unit type text field. (OS/390 device or device type)

  5. Specify the number of buffers in the Number of buffers text field.

  6. Optional: Specify settings in the Disposition group.

    Status:

    Normal Termination:


    Abnormal Termination:

  7. By default, settings on the Media page will be Media Type Disk, Unit Allocation Cylinders, and Space Allocation DB2 Caculated. It is optional to adjust any of the settings as necessary for different media types or data sets previously saved under non-default settings.

  8. Click the OK push button.

Related information

DB2 for OS/390 Version 5