Read-only control sections
With the RSECT instruction, you can initiate a read-only executable control section, or continue a previously initiated read-only executable control section.
When a control section is initiated by the RSECT instruction, the assembler automatically checks the control section for non-reentrant code. As the assembler cannot check program logic, the checking is not exhaustive. If the assembler detects non-reentrant code it issues a warning message.
The read-only attribute in the object module shows which control sections are read-only.