Template repository edit

The Template Repository Edit panel is used to create, list, and maintain repository entries.

Z Data Tools option 7.7.1 is the repository edit option.

Figure 1. Template Repository Edit panel
  Process   Options   Help
────────────────────────────────────────────────────────────────────────────────
 Z Data Tools           Template Repository Edit
 Command ===>                                                                   Scroll PAGE

 Repository:
    Data set name . 'HFM.TEMPLATE.REPOSTRY'                       
    Filter  . . . . *                                                    +

Creating a repository file

If you enter a data set name that does not exist, you are prompted to define a VSAM KSDS data set to store the repository. The default space allocation allows for 10000 primary and 5000 secondary records. You can adjust these values to reflect the expected number of entries. Do not change the VSAM key definition and record average and maximum length values. Other attributes can be customized if applicable.

Press Enter to define the repository data set and proceed to the insert dialog for a new entry.

Listing entries in a repository

You can display all the existing entries in a repository or provide a generic name to filter the output as follows:

In a generic name use the percent (%) sign to represent a single character, and an asterisk (*) to represent any number of characters within qualifier. Two asterisks (**) represent any number of characters within any number of qualifiers.

  Process   Options   Help
────────────────────────────────────────────────────────────────────────────────
 Z Data Tools        Template Repository Resource List      Row 00001 of 00009
 Command ===>                                                                   Scroll PAGE

 Repository:
    Data set name . 'HFM.TEMPLATE.REPOSTRY'                       
    Filter  . . . . *fmdata*                                             +

For example, enter *fmdata* in the Filter field to match resources whose name contains FMDATA:

  Process   Options   Help
────────────────────────────────────────────────────────────────────────────────
 Z Data Tools        Template Repository Resource List      Row 00001 of 00009
 Command ===>                                                                   Scroll PAGE

   Resource Name                                                               ±
   *FMDATA*                                                                   
   <---+----10---+----2----+----3----+----4----+----5----+----6----+----7---->
 _ FI:C68D1FM4:FMDATA
 _ HFM.FMDATA
 _ HFM.FMDATA.ESDS
 _ HFM.USERZYX.FMDATA.ASM
 _ HFM.USERZYX.FMDATA.ASM1
 _ HFM.USERZYX.FMDATA.COBOL
 _ HFM.USERZYX.FMDATA.COBOL1
 _ HFM.USERZYX.FMDATA.PLI
 _ HFM.USERZYX.FMDATA.PLI1
 ****  End of data  ****

The following prefix commands are supported.

S or / or E
Edit the repository entry
I
Insert all fields for a new repository entry
R
Insert a new repository entry by repeating all field values and specifying a new resource name.
D
Delete the repository entry