Previous Topic: Comment TextNext Topic: Edit Instruction Text


Source Statements

Module, process, and q-file source statements are represented in DDDL statements as source-statement. Source statements can consist of any number of input lines. The DDDL compiler reads text in columns 1 through 80 and places it in the requested module, process, or q-file.

Source input is terminated when the DDDL compiler encounters an MSEND instruction.

Example of Source Statements

The following example shows the statements associated with the MODULE ADDRESS1 in the dictionary:

add module address1
    module source follows
       900010 move cust-name to name-line.
       900020 move street-no to no-line.
       900030 move street-name to str-line.
       .
       .
       .
       900080 move zip-code to z-no.
       900090 write label-rec.
     msend.

More information: For more information on defining modules, processes, and q-files, see MODULE (PROCESS/QFILE/TABLE).