Data Definition Language (DDL) Reference Manual
DDL Compiler Commands
Data Definition Language (DDL) Reference Manual—529431-004
9-98
SETSECTION
SETSECTION
The SETSECTION command determines SECTION headings for all open source code 
files except TACL source code files.
Default: SETSECTION without section-name
SETSECTION section-name
immediately generates a SECTION heading with the name section-name on all 
open source code files except TACL source code files, and generates no other 
SECTION headings.
Remains in effect until another SETSECTION command appears or the DDL 
session ends.
SETSECTION
generates a separate SECTION heading, with the object name as the section 
name, for each subsequent DDL object in the open source code file except TACL 
source code files.
Remains in effect until a SETSECTION section-name command appears or the 
DDL session ends.
If SETSECTION is not specified or if SETSECTION is specified without section-
name, the DDL compiler precedes each DDL object in the open source code files with 
a SECTION heading that uses the DDL object name as the section name.
The SETSECTION command affects only host-language source code files (except 
TACL source code files) and DDL source code files opened by the DDL command.
Example 9-49. SETLOCALENAME Command
DDL Input
? DICT !
? COBOL COBSRC !
? SETLOCALENAME no_NO.ISO8859-1
CONSTANT custnum-heading VALUE "Finnish" LN"fi_FI.ISO8859-1"
 "Norwegian" LN"no_NO.ISO8859-1"
 "Danish" LN"da_DK.ISO8859-1".
DDL Output (COBOL Code)
* SCHEMA PRODUCED DATE - TIME : 11/16/1994 16:17:21
?SECTION CUSTNUM-HEADING TANDEM
* Constant CUSTNUM-HEADING created on 11/16/1994 at 16:17
 01 CUSTNUM-HEADING PIC X(7), VALUE IS "Norwegian".
SETSECTION [ section-name ]










