Previous Topic: CA IDMS/DC Programming ConsiderationsNext Topic: Batch Input to the DML Precompiler


Sample Batch Program

The following PL/I batch program accesses database records using navigational DML statements. The following figure shows the program as it appears in the various stages of the compilation process. You create a program using PL/I and DML statements. This program is input to the DML precompiler, which produces a listing that contains diagnostics and, optionally, DML source statements. The expanded code is input to the PL/I compiler, which generates a listing of the fully expanded code and diagnostics.