TEMPLATE Options (1 of 2) panel

You use the TEMPLATE Options (1 of 2) panel to enter information used by FM/Db2 to generate TEMPLATE statements and the proper JCL statement to access the TEMPLATE library in a utility batch job.

Panel and field definitions

  Process   Options   Utilities   Help
 ──────────────────────────────────────────────────────────────────────────────
 FM/Db2 (DFG2)             TEMPLATE Options (1 of 2)            Global Settings
                                                                    More:     +
 Enter RESET to restore installation defaults.

 TEMPLATE Library Option:
    JCL DD statement:              No DD stmt is generated if field is blank
       //SYSTEMPL DD                                                          
       //         DD                                                          
       //         DD                                                          
       //         DD                                                          
 Initial Utility Statement Option:
    Utility statement:             No statement is generated if field is blank
       TEMPLATE                                                             
                                                                            
                                                                            
                                                                            
    Additional statements:
       Enter "/" to select options
          Use additional statements
          Edit additional statements
 Command ===>                                                                  
  F1=Help      F2=Split     F3=Exit      F4=CRetriev  F6=Reset     F7=Backward
  F8=Forward   F9=Swap     F11=NxtPage  F12=Cancel
JCL DD statement
The information used to generate the JCL DD statement. This information is:
DD name
A read-only field. This holds the value that was specified in the TEMPLATEDD DD name field on the OPTIONS Options panel (OPTIONS Options panel). If the library field is blank then no DD statement is generated in the utility batch job.
Text values
The values entered on these four lines are used directly to generate the DD statement, provided that the DD name field is not blank. The default is blank.
Utility statement
The field of the Utility statement is used to generate the initial utility statements. If the field is blank, and the Use additional statements option is not selected, then no TEMPLATE statement is generated into the utility batch job. If the input field is non-blank, then the specified TEMPLATE is generated with any additional TEMPLATE statements supplied when the Use additional statements option is selected. The default is blank.
Use additional statements
If this option is set then more than one TEMPLATE statement may be generated into the utility batch job. Select the Edit additional statements option to edit additional statements. Only TEMPLATE specifications that have non-blank input fields are used in the generation. The default is not selected.

If this option is not selected, then only a non-blank value in the Utility statement field is used to generate the TEMPLATE statement.

Edit additional statements
When you select this option and press Enter, the Additional TEMPLATE Statements panel (Additional TEMPLATE Statements panel) is displayed. After you have entered values on this panel and exited the panel, this option is deselected. The additional statements are used when you select the Use additional statements option. The default is not selected.

The TEMPLATE Library Option panel has an installation-defined default. You can restore the default for the library option by entering the RESET command or pressing the RESET PF key. Each subsystem has its own installation-defined defaults. RESET also clears the Use additional statements option and any values in the Utility statement fields.

For more information, see TEMPLATE and OPTIONS statements in DB2 Utility Guide and Reference.

Parent panels

Child panels

To display this panel… Use/do this
Additional LISTDEF Statements panel Select the Edit additional statements option.
TEMPLATE Options (2 of 2) panel Press F11

Related tasks