Template repository edit

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

File Manager option 7.7.1 is the repository edit option.

Figure 1. Template Repository Edit panel
  Process   Options   Help
────────────────────────────────────────────────────────────────────────────────
 File Manager           Template Repository Edit
 Command ===>                                                                   Scroll PAGE

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

Creating a repository file

If you enter a data set name that does not exist, the VSAM Define panel is displayed. Use this 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 length and offset definition or the average and maximum record length (Recsize) values. Other attributes can be customized if necessary.

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
────────────────────────────────────────────────────────────────────────────────
 File Manager        Template Repository Resource List      Row 00001 of 00009
 Command ===>                                                                   Scroll PAGE

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

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

  Process   Options   Help
────────────────────────────────────────────────────────────────────────────────
 File Manager        Template Repository Resource List      Row 00001 of 00009
 Command ===>                                                                   Scroll PAGE

   Resource Name                                                               ±
   *FMDATA*                                                                   
   <---+----10---+----2----+----3----+----4----+----5----+----6----+----7---->
 _ FI:C68D1FM4:FMDATA
 _ FMN.FMDATA
 _ FMN.FMDATA.ESDS
 _ FMN.USERZYX.FMDATA.ASM
 _ FMN.USERZYX.FMDATA.ASM1
 _ FMN.USERZYX.FMDATA.COBOL
 _ FMN.USERZYX.FMDATA.COBOL1
 _ FMN.USERZYX.FMDATA.PLI
 _ FMN.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