Purpose
Specifies the following set of compiler options: MARGINS, NAMES, OR ('|'), NOT ('^')
Syntax
%PROCESS [compiler-option] ...;
Parameters
- MARGINS
- Sets the margins within which characters of the source file are interpreted as source code and outside which all characters are ignored by the Compiler. The statement may be inserted anywhere within the source file. The limits apply to all source code following the %PROCESS MARGINS statement until another %PROCESS MARGINS statement is encountered or until the file ends. If tabs are used, each tab is counted as a single character.
Note: The same effect may be achieved for an entire source file by using the -margins compiler option switch. For more information, see your Open PL/I User's Guide.
%PROCESS[MARGINS l,r[,p]];
-
I
- The column number of the leftmost character to be interpreted as source code.
-
r
- The column number of the rightmost character to be interpreted as source code.
-
p
- The column number of the pointer control character. This is currently ignored by the Open PL/I Compiler.
- NAMES
- Defines the extralingual characters that are allowed in identifiers.
%PROCESS NAMES ('#@$' '#@$')
- OR ('|')
- Accepts up to seven optional string characters which may be used as the OR symbol.
- NOT ('^')
- Accepts up to seven optional string characters which may be used as the NOT symbol.
Example
%PROCESS MARGINS (5,55) OR('!|') NOT('^~')
In this example, only the text contained between columns 5 and 55 of the source line will be interpreted by the Compiler; however, the source listing will contain the whole source line.
! and
| will be interpreted as the OR symbol and
^ and
~ will be interpreted as the NOT symbol.