DDS concepts

DDS syntax for a printer file



Syntax for a Printer File. An illustration of a DDS coding form that describes a printer file.

(1)
Comments (optional): Comments can appear on any line in DDS. They are identified by an asterisk in position 7.

(2)
File level (optional): File-level keywords appear before the first record format name (RECORDA on line 00040).

(3)
Record level (at least one required): R in position 17 identifies RECORDA as a record format name. The record level continues until the first field is specified.

(4)
Field level (at least one field, whether named or unnamed, is required in each record format in the file): Printer file fields that are passed from the program to the printer must be named fields and must have a length specified. Other attributes can be specified explicitly or by default. Constant (unnamed) fields require only a location and a keyword, as described in the DATE, DFT, PAGNBR, TIME, and MSGCON keyword descriptions in the keyword topic for printer files.

Notes:

  1. Items (3) and (4) can be repeated to specify new record formats within the printer file.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]