Specifying the template/copybook for a data set
To describe the structure of a data set you can use:
- A COBOL copybook
- A HLASM copybook
- A PL/I copybook
- A File Manager template
The JCL generated by FM/Db2 for the various batch functions always uses the TCIN or TCOUT batch keywords, as described below:
- TCIN
- For functions where there is an input data set (import)
- TCOUT
- For functions where there is an output data set (export)
When it is necessary to specify the template/copybook data set name in the JCL statements, rather than via a File Manager batch keyword, you can use the alternative keywords TINPUT and TINMEM, or TOUTPUT and TOUTMEM.