Creating Objects

After entering the DDS code, compile the source to create a file object on the AS/400 family. To do so, issue a create-file command in the Program Generator.

You can access the Program Generator from one of the following ways:

However you create the file object, the issuing command will always be the same. The command you use depends on the type of file you are creating. The following is a list of valid DDS file types and commands:

Physical
CRTPF

Logical
CRTLF

Display
CRTDSPF

Printer
CRTPRTF

ICF
CRTICFF