Statements that direct the operation of the compiler begin with
a percent (%) symbol. % statements allow you to
control the source program listing and to include external strings
in the source program. % statements must not have label
or condition prefixes and cannot be a unit of a compound statement.
You should place each % statement on a line by itself.
The usage of each % control statement—%INCLUDE, %PRINT, %NOPRINT, %OPTION, %PAGE, %POP, %PUSH,
and %SKIP—is listed below. For a complete description
of these statements, see PL/I Language Reference.
- %INCLUDE
- Directs the compiler to incorporate external strings of characters
and/or graphics into the source program.
- %PRINT
- Directs the compiler to resume printing the source and insource
listings.
- %NOPRINT
- Directs the compiler to suspend printing the source and insource
listings until a %PRINT statement is encountered.
- %OPTION
- Specifies one of a selected subset of compiler options for
a segment of source code.
- %PAGE
- Directs the compiler to print the statement immediately after
a %PAGE statement in the program listing on the first line
of the next page.
- %POP
- Directs the compiler to restore the status of the %PRINT, %NOPRINT,
and %OPTION saved by the most recent %PUSH.
- %PUSH
- Saves the current status of the %PRINT, %NOPRINT,
and %OPTION in a push down stack
on a last-in, first-out basis.
- %SKIP
- Specifies the number of lines to be skipped.
|
This information center is powered by Eclipse technology. (http://www.eclipse.org)