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 commands are:

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

See Compiler Listing Example Using DDS for an example of a DDS listing and Debugging Template Using DDS for an example of a debugging template.