When the ALGOL compiler compiles a program, it requires, at minimum, one input file that contains the source code to be compiled. If the compile is successful, the compiler produces, at minimum, one output file that contains executable object code.
Through the use of compiler control options, the compiler can be directed to use additional input files and to produce additional output files. Among the optional input files that can be used are files containing source code that is to be merged or inserted into the required source code file, and files containing information needed to perform separate compilation and binding. Among the optional output files that can be produced are a printer listing of the program, a cross-reference file, an updated source file, an error message file, and a file containing information needed for future separate compilation.
Compiler Input Files and Compiler Output Files list the logical input and output files used by the ALGOL compiler. Each file is listed with values for the INTNAME, KIND, INTMODE, MAXRECSIZE, BLOCKSIZE, and FILETYPE attributes. Some or all of the attributes for these files can be changed, using compiler file equation, when the compiler is initiated. For information on file attributes refer to the File Attributes Programming Reference Manual. For information about compiler file equation, see the Work Flow Language (WFL) Programming Reference Manual.
Table 12. Compiler Input Files
|
Description |
INTNAME |
Initiation |
KIND |
INTMODE |
MAXRECSIZE |
BLOCKSIZE |
|---|---|---|---|---|---|---|
|
PRIMARY INPUT FILE |
CARD |
WFL |
READER |
EBCDIC |
Taken from physical file |
Taken from physical file |
|
CANDE |
DISK |
|||||
|
OPTIONAL SECONDARY INPUT FILE |
SOURCE* |
WFL AND CANDE |
DISK |
EBCDIC |
Taken from physical file |
Taken from physical file |
|
OPTIONAL SOURCE FILES INPUT BY $ INCLUDE COMPILER CONTROL OPTIONS |
(INCLUDEd files) |
WFL AND CANDE |
DISK |
EBCDIC |
Taken from physical file |
Taken from physical file |
|
OPTIONAL OBJECT FILE INPUT |
HOST |
WFL AND CANDE |
DISK |
SINGLE |
30 words |
270 words |
|
OPTIONAL INFO FILE |
INFO |
WFL AND CANDE |
DISK |
SINGLE |
Taken from physical file |
Taken from physical file |
| Note: | Each file has a Dependent Specification value of TRUE. |
Table 13. Compiler Output Files
|
Description |
INTNAME |
Initiation |
KIND |
INTMODE |
MAXRECSIZE |
BLOCKSIZE |
|---|---|---|---|---|---|---|
|
OBJECT CODE FILE |
CODE |
WFL AND CANDE |
DISK |
SINGLE |
30 words |
270 words |
|
OPTIONAL UPDATED SYMBOLIC FILE |
NEW-SOURCE* |
WFL AND CANDE |
DISK |
EBCDIC |
15 words |
420 words |
|
OPTIONAL LINE PRINTER LISTING |
LINE |
WFL AND CANDE |
PRINTER |
EBCDIC |
22 words |
22 words |
|
OPTIONAL ERROR MESSAGE FILE |
ERRORS* |
WFL |
PRINTER |
EBCDIC |
12 words |
12 words |
|
CANDE |
REMOTE |
|||||
|
OPTIONAL REPORT FILE |
CORISOLREPORT |
WFL AND CANDE |
PRINTER |
EBCDIC |
12 words |
12 words |
|
OPTIONAL CROSS-REFERENCE FILE |
XREFFILE |
WFL AND CANDE |
DISK |
EBCDIC |
510 words |
510 words |
|
OPTIONAL INFO FILE |
INFO |
WFL AND CANDE |
DISK |
SINGLE |
256 words |
2560 words |
| Note: | Dependent Specifications only apply to the OPTIONAL CROSS-REFERENCE FILE and the OPTION INFO FILE, each which have a value of 0. |
* The following synonyms can be used:
|
File Name |
Synonym |
|
SOURCE |
TAPE |
|
NEWSOURCE |
NEWTAPE |
|
ERRORS |
ERRORFILE |

