What is DDS(Data Description Specifications) in AS400, and how do we use the DDS in defining the database files (PF, LF), display files (DSPF), and PRTF(Printer files)?
Please provide examples using DDS to create PF, LF, DSPF, and PRTF.
Sorry, you do not have permission to ask a question, You must login to ask a question.
Sorry, you do not have permission to ask a question.
DDS stands for Data description specifications. It defines data attributes in the file description. PF, LF, DSPF, PRTF, and ICF files use DDS. We can create a file using DDS by following these steps:
The left side of the DDS positions 1 through 44 is called positional entries and is available for fixed format entries. This includes the record format name, field name, and length of the field. The right side of the DDS positions 45 through 80 are used for DDS keywords. This includes attributes of record format, files, and fields. The sequence number and form type are optional in DDS. An asterisk in position 8 makes the line a comment line. Position 17 indicates the name entry in positions 19 through 28.
R specified in position 29 indicates that it is a preferred field, and its definition is defined somewhere else. You can enter the DDS source using STRSEU. You create a DDS pf using the CRTPF command, a DDS LF using CRTLF, a DDS Display file using CRTDSPF, a DDS printer file using CRTPRTF, and a DDS ICF file using CRTICFF.