This topic shows how to create a logical file using data description specifications (DDS).
To create a logical file, follow these steps:
As shown, this command uses some defaults. For example, because the SRCFILE and SRCMBR parameters are not specified, the system uses DDS from the IBM-supplied source file QDDSSRC, and the source file member name is ORDHDRL (the same as the file name specified on the CRTLF command). The file ORDHDRL with one member of the same name is placed in the library DSTPRODLB.
You can create multiple logical files over a single physical file. The maximum number of logical files that can be created over a single physical file is 32K.
Similar to logical files are views. Views can be created using iSeries™ Navigator or using the CREATE VIEW SQL statement.