Input to the compiler may consist of the following source data:
Individual compilation units
Program segments (COPY elements)
COMOPT statements
Repository data
Current values for DEFINE directives
The compiler expects the source data from the system input file SYSDTA.
By default, SYSDTA is assigned to the terminal in interactive mode and to the SPOOLIN file or the ENTER file in batch mode.
If source data is to be entered directly, no input control operations are required. The compiler is simply called, and the control statements and compilation units are entered directly.
However, if the source data is to come from a cataloged file or a library, the input file must be explicitly assigned to SYSDTA. Separate control statements are available to control the input of COPY elements. The assignments to be made with the ASSIGN-SYSDTA command and the input of COPY elements are described in
section "Source data input". The procedure for supplying values for compiler directives is described in
section "Assignment to compiler variables to control source text manipulation".