Input to the compiler may consist of the following source data:
Compilation units (individual compilation units or a compilation group)
Program segments (COPY elements)
Compiler control statements (COMOPT statements or SDF options)
Repository data (interface definitions)
The compiler can process compilation units from cataloged SAM or ISAM files, elements of PLAM libraries and POSIX files. Input from compilation units is described in the chapter "From compilation unit to executable program" and the chapter "COBOL2000 and POSIX".
The control statements for the input are detailed in the chapter "Controlling the compiler via SDF" and the chapter "Controlling the compiler with COMOPT statements". The required assignment of the system file SYSDTA, which is common to both control modes, is presented below.