Associating a template with a Db2® object

To use an existing template with a File Manager/Db2 panel, you supply the name of the template in the template Data set name entry field (and optionally the template Member entry field) then, in the Template usage entry field, select option 1 (Above).
 Template:
    Data set name . . . FMNUSER.TEMPLATE                              
    Member  . . . . . . SALARIES

 Processing Options:
    Template usage                     Enter "/", "A"lways to select option
    1  1. Above                           Edit options
       2. Previous                        Edit template
       3. Generate from table             Re-edit template
       4. Generate/Replace

If you have previously used a template with the input Db2® object, you can select option 2 (Previous) instead. The Previous option instructs FM/Db2 to ignore the contents of the Template fields, and instead use the template most recently associated with the input data set. If you want to edit the template before using it, select the Edit template field.

To generate a template for the specified Db2® object, select option 3 (Generate from table). This option instructs FM/Db2 to ignore the contents of the Template fields and use information from the Db2® catalog table to generate a template for the Db2® object. This is the default setting.

To generate a template for the specified Db2® object and immediately save the template, enter the name you want FM/Db2 to use for the template in the template Data set name entry field (and optionally the template Member entry field) then, in the Template usage entry field, select option 4 (Generate/Replace).

Related tasks

Related references