Compiler control options provide the programmer with the means to control many aspects of the compilation of an ALGOL program. These options can instruct the compiler to use optional input files or to produce optional output files. In addition to other things, the options can do all of the following:
-
Affect the contents of the printer listing
-
Designate the target computer for which code is to be produced
-
Set the default character type
-
Cause the compiler to perform separate compilation
-
Invoke the Binder
-
Invoke debugging features
-
Exclude source records
-
Set a limit on the number of syntax errors the program can get
-
Resequence source records
-
Check that sequence numbers are in order
-
Control code file segmentation
The TASKSTRING attribute can be used to pass compiler control options to the compiler. It is a string-valued task attribute of up to 254 EBCDIC characters. The use of the dollar ($) sign is required to begin the string image. The percent (%) sign is treated as a comment indicator and the information that follows is ignored. SET, RESET, and POP can be used with the compiler control options in TASKSTRING just as they would be used in standard compiler control images. The options DELETE, VOIDT, PAGE, and VOID cannot be passed to the compiler through TASKSTRING, or appear in any files that are included by an INCLUDE option in the TASKSTRING.
If the INCLUDE option is used in TASKSTRING, it must be the last option in the string. The included files must consist of valid compiler control options only. The options are processed before any records of the actual symbolics. To pass compiler control options to the compiler with this attribute, enter the following as a compiler attribute assignment: COMPILER TASKSTRING="<compiler control record>". The following is an example of the use of the compiler attribute assignment:
C; COMPILER TASKSTRING="$SET LIST"

