COBOL Manual for TNS/E Programs (H06.08+, J06.03+)
Applies only to the section of text that it specifiesScope:
NoneDependencies:
If you do not specify TANDEM or ANSI in the SECTION directive, the compiler assumes that the
format of the library text is the same as the current source-text format. Although you can override
this by inserting a compiler directive as the first line following the SECTION directive, the input
format control directive (ANSI or TANDEM) of the SECTION directive is usually more convenient
for this purpose. In either case, selecting Tandem or ANSI format as an option has an effect only
for the duration of the fetching of that portion of library text. Upon completion of the fetching
operation, the compiler reverts to the previous format. (See COPY Statement (page 499) and
SOURCE).
If two or more SECTION directives in a text library contain the same text-name, the text following
the first one in the library (the one on the edit line that has the lowest line number) is the text fetched
by a COPY statement or SOURCE directive.
If any SECTION directive in a text library contains a text-name that is not a legal COBOL word,
the first time the compiler attempts to fetch any member from the library, the compiler reports an
error, even if the offending text-name is not the one sought.
SETTOG
SETTOG turns on all specified toggles, which the IF directive uses.
toggle-number-list
If toggle-number-list is omitted, all toggles are turned on.
toggle-number
is an integer in the range 1 through 15.
NoneDefault:
Must either be on a directive line of its own or be the last of a sequence of directives.Placement:
Applies until RESETTOG overrides itScope:
NoneDependencies:
RESETTOGReferences:
SETTOG or RESETTOG on the command line does not override any such directives within the
source stream. Command line directives are the exact equivalent of a directive in the source stream
immediately before the first line of the source.
Compiler Directives 567










