Defining a printer file
When defining a printer file using data description specifications (DDS), you should follow these rules for filling in positions 1 through 44 of the DDS form for printer files.
Specify the entries in the following order to define a printer file:
- Optional: File-level entries
- Record-level entries
- Field-level entries
Specify at least one record format in each file. The maximum number
of record formats in a printer file is 1024. The maximum number of fields
in any one record format is 32 767. The maximum combined length of all named
fields and indicators in a record format is 32 767 bytes.
Note: Specify the
file name through the Create Printer File (CRTPRTF) command, not through DDS.
See DDS concepts for the following
general information:
- An explanation of file level, record level, and field level in the overview topic.
- A complete printer file example in the examples topic.
- Syntax rules for specifying DDS keywords.
Figure 1 shows a printer file code example.