Specifying Values for the TMPLREG Parameter

The value of the TMPLREG parameter depends on whether the source file is a stream file or a data member file.
  • If *DFT is specified, and:
    • If the source file is a stream file, a 'templateregistry' file is created in the source directory.
    • If the source file is a data member file, a file QTMPLREG with the member QTMPLREG is created in the library where the source resides.
  • If a path name is specified, and:
    • If the source file is a stream file, that file is used as the template registry.
      Note: If you want to explicitly use a file as your template registry, you have to use the "QSYS.LIB..." naming convention.
    • If the source file is a data member file, a file with the same name as the source file is created in the library where the source resides.