Rational Developer for System z
PL/I for Windows, Version 8.0, Programming Guide

/SECTION

Use /SECTION to specify memory-protection attributes for the name section. name is case sensitive. You can specify the following attributes:

Letter
Sets Attribute
E or X
EXECUTE
R
READ
S
SHARED
W
WRITE

The following example sets the READ and SHARED attributes, but not the EXECUTE, or WRITE attributes, for the section dseg1 in an .EXE file.

/SEC:dseg1,RS

Defaults

Sections are assigned attributes by default, as follows:

Segment
Default Attributes
Code sections
EXECUTE, READ (ER)
Data sections (in .EXE file)
READ, WRITE (RW), not shared
Data sections (in .DLL file)
READ, WRITE, not shared
CONST32_RO section
READ, SHARED (RS)

Default: Depends on segment type

Abbreviation: /SEC

Rational Developer for System z
PL/I for Windows, Version 8.0, Programming Guide