This section describes the controls that may be used in the source program on a control line or used on the invocation line as an option. The syntax of their usage as an option is described in Section 2.2.2.
A control line is indicated by a # in column 1 of the source line, followed by any of the following controls separated by white space. Comments may be included on a control line by using a semicolon followed by the comment. The ";" terminates the control line.
A control name may be abbreviated to the number of letters shown in capital letters in the descriptions. For example, MASTERLIST may be also specified as MASTER, MA, or even M. However, MC gives an error, since it is uncertain whether MCALLS or MCOMMENTS is wanted. Many of the controls may also have the prefix NO. In this case, the rest of the name may be abbreviated as normal. Control names are not case sensitive.
A control may be classified as primary, general or invocation line only. Primary controls are those that can be set only on the invocation line or at the beginning of the program before any other statements, except for other control lines or comments. General controls may be specified anywhere and can be re-specified at any time. Thus, the usual source program structure is:
#MASTERLIST ;general is okay up here ; comment okay between primary controls #HEADINGS ;turn on headings ; instruction follows NOP ; at this point only general controls will be valid
A few of the controls are shown as "invocation line only." This, of course, means they are valid only on the program invocation line and cannot be used within the program.
A general control may be saved and restored by the SAVE and RESTORE controls.
Invocation line controls are masters and override the same control in the program source. Thus, NOMASTERLIST on the invocation line overrides #MASTERLIST in the source.
Assembler controls and functions, described in this section, are summarized in Table 2-8.