Telling File Manager to use the repository template name

The repository template definition will be used when ? is specified in the template data set name field in the ISPF interface or the TCIN= keyword in a batch job.

Example 1: View session

In the following figure, ? is specified in the template data set name field to indicate that the repository template will be used when viewing data set FMN.FMDATA.

 File Manager                   View Entry Panel
 Command ===>                                                                  

 Input Partitioned, Sequential or VSAM Data Set, or HFS file:
    Data set/path name 'FMN.FMDATA'                                    +
    Member . . . . . .              Blank or pattern for member list
    Volume serial  . .              If not cataloged
    Start position . .                                 +
    Record limit . . .              Record sampling   

 Copybook or Template:
    Data set name  . . ?                                             
    Member . . . . . .              Blank or pattern for member list
 Processing Options:
⋮

Example 2: Batch print

In the following figure, TCIN=? indicates that the repository template will be used when printing data set FMN.FMDATA.

//FMBAT EXEC PGM=FILEMGR
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
$$FILEM DSP FORMAT=TABL,
$$FILEM DSNIN=FMN.FMDATA,
$$FILEM TCIN=?