DDS concepts

Creating the DDS file

Create the file by issuing a create-file command. The command you use depends on the type of file you are creating. The file types and their corresponding commands are listed in the following table.

File Type Command
Physical file CRTPF
Logical file CRTLF
Display file CRTDSPF
Printer file CRTPRTF
ICF file CRTICFF

When you issue a create-file command, the DDS is retrieved from the source file and validated, and a file is created as shown in the following figure. The file is created only if there are no errors in the DDS of equal or greater severity than the severity specified on the GENLVL parameter of the create-file command. Thus, you can use the GENLVL parameter to control the allowable error severity when creating the file. Depending on the options you specify on the OPTION and FLAG parameters, a DDS source (or compiler) listing may also be created. The DDS listing contains the data description and error information.

You can use the FLAG parameter to specify the minimum severity of DDS messages which will be printed. For example, you can suppress the warning messages for field overlapping.



Create a File Command. The illustration depicts a source file that can be processed in batch or interactively to create a file on diskette.

See Example DDS compiler listing for an example of a DDS listing and DDS debugging template for an example of a debugging template.


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